Stuart’s MATLAB Videos

Watch and Learn

Example: Speed up MATLAB code by profiling

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.

  • print


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