Computational Cost of dsearchn

2 views (last 30 days)
Arielle
Arielle on 25 Jan 2012
What is the computational cost of the dsearchn function?

Answers (1)

Sean de Wolski
Sean de Wolski on 25 Jan 2012
Are you looking for number of flops?
I don't think you're going to have much luck finding this. dsearchn relies on mex and qhull to do most of the work.
You could use tic/toc to time it, if that would also be sufficient.
  4 Comments
Arielle
Arielle on 26 Jan 2012
To make a long story short, my code is part of a greater project and needs to work as fast as possible. I'm trying to identify any areas of weakness, and I didn't know much about the cost of dsearchn. Thanks for your help!

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!