Stuart’s MATLAB Videos

Watch and Learn

Breaking up compound statements for the profiler

A statement like this: a = sin(x) + cos(y) + inv(z); makes it impossible to know which part of the calculation is the bottleneck. This video shows how to determine what is slowing your code down, and shows how to fix it.


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