Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
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.
Recorded: 11 Nov 2011
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .Select web site
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.