Array resizing performance
Several alternatives are explored for dynamic array growth performance in Matlab loops.
Several alternatives are explored for dynamic array growth performance in Matlab loops.
Preallocation is a standard Matlab speedup technique. Still, it has several undocumented aspects.
The default spy Easter-egg image in the spy function has recently changed.
The built-in urlread functions has severe limitations. This article explains how to solve them.
mtic and mtoc were a couple of undocumented features that enabled users of past Matlab releases to easily profile memory usage.
Editing Matlab arrays in-place can be an important technique for optimizing calculations. This article shows how to do it using Mex.
Sometimes Matlab gets into a state where it cannot use a valid m-file. This article explains what can be done.
Internal fields of Java objects may leak memory - this article explains how to avoid this without sacrificing performance.
Special control characters can be used to format text output in Matlab's Command Window.
The information of whether or not an axes is zoomed or panned can easily be inferred from an internal undocumented object.