Back to Browse

How to Speed Up MATLAB Code

54.2K views
Jun 25, 2019
5:58

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/2Lc1Bmm • Profiler - Documentation: https://bit.ly/2xBBdcQ • parfor - Documentation: https://bit.ly/32gDNDh • Deciding When to Use parfor - Documentation: https://bit.ly/2Jwj9q9 • MATLAB Acceleration: https://bit.ly/3XYLY4R • Performance and Memory - Documentation: https://bit.ly/2G3ezPe Check out the full playlist, which shows how to use MATLAB and Simulink across a range of topics: https://youtube.com/playlist?list=PLn8PRpmsu08oBSjfGe8WIMN-2_rwWFSgr -------------------------------------------------------------------------------------------------------- Get a free product trial: https://goo.gl/ZHFb5u Learn more about MATLAB: https://goo.gl/8QV7ZZ Learn more about Simulink: https://goo.gl/nqnbLe See What's new in MATLAB and Simulink: https://goo.gl/pgGtod © 2019 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.

Download

1 formats

Video Formats

360pmp47.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Speed Up MATLAB Code | NatokHD