Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Memory

Importance of Implicit Expansion For Performance 6

Sometimes people state that they like using MATLAB because it's easy to express their mathematical thoughts. Sometimes there's a follow-on that they then switch to another language for performance. While early in the history of MATLAB, that was sometimes beneficial, it is not so obvious these days. Let's take the example of implicit expansion (also here).... read more >>

How for Works 18

Last week I touched on the difference between using 1:N and [1:N] as the expression in a for statement. I have gotten enough more questions recently on how for works in MATLAB that it seems time for its own post. ... read more >>