MATLAB is constantly evaluating expressions and expressions within expressions. A lot of MATLAB users do not think about this, or the implications. Simple examples of using a vector as the index into a for loop instead of one that is dynamically created (1:10 for example) is shown. Also, the use of a variable as an input to a function expecting a string is shown.
You can follow any comments to this entry through the RSS 2.0 feed.
You can skip to the end and leave a comment. Pinging is currently not allowed.