Stuart’s MATLAB Videos

Watch and Learn

Knowing when to optimize your graphics in MATLAB

The MATLAB user’s question in this video was about optimizing their graphics in MATLAB. They were worried that the architecture they were choosing would be too slow. One test is worth a thousand expert opinions. Before starting to do some difficult optimization in your code in the name of speed, you should check to see if the current implementation will be a problem. In this case, rather than a difficult optimization, they simply changed to a low level command for graphics rather than the heavier weight one. This, plus just testing the speed quickly showed that they need not worry about optimizing in the first place.
  • print


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