Stuart’s MATLAB Videos

Watch and Learn

MATLAB Optimize an algorithm that the profiler can not help

I very much advocate “No premature optimization” because until the code is running and pushed through the profiler, it is difficult to know where the bottlenecks of speed are.

In this video, the profiler only finds hotspots in MATLAB code that can not be further optimized. We find an algorithmic change that allows us to get the speed increase.

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.