How to Speed Up MATLAB Code
Explore tips and tricks that show how to speed up MATLAB code. This video shows you ways to measure how long the code takes to run, and it outlines how to identify which parts of the code are slow. Then, based on the type of slow down, it shows best practices like preallocation, vectorization, or parfor (in Parallel Computing Toolbox™) for making the code run faster.
Resources:
• Measure Performance of Your Program Documentation - https://bit.ly/2ZvmNGY
• Profiler Documentation - https://bit.ly/2L4l0VF
• parfor Documentation - https://bit.ly/2WT5IoM
• Decide When to Use parfor Documentation - https://bit.ly/2ZDVHOi
• MATLAB Acceleration - https://bit.ly/2hm7vz7
• Performance and Memory Documentation - https://bit.ly/2WSVkCp
Resources:
• Measure Performance of Your Program Documentation - https://bit.ly/2ZvmNGY
• Profiler Documentation - https://bit.ly/2L4l0VF
• parfor Documentation - https://bit.ly/2WT5IoM
• Decide When to Use parfor Documentation - https://bit.ly/2ZDVHOi
• MATLAB Acceleration - https://bit.ly/2hm7vz7
• Performance and Memory Documentation - https://bit.ly/2WSVkCp
No comments