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.
 
|
  • print

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。