Stuart’s MATLAB Videos

Watch and Learn

When only small speed improvements are possible in MATLAB

The profiler is very important when you want to speed up your code. It is nearly impossible to know where the bottleneck will be in your code until it is written and tested. Often times there are basic things you can do to speed your code. These basic things include pre-allocate vectors. What do you do when the basic things do not help or have already been done?

|
  • print

Comments

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