Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
Sometimes the performance of MATLAB code can depend greatly on the algorithm or the specific functions called. In this example, we show how we use the profiler (and good knowledge of logical indexing in MATLAB) to speed up some MATLAB code by nearly a factor of ten.
Recorded: 17 Jan 2013