Programming |
Program Control Statements
Program control is divided into these four categories:
Note
You can often speed up the execution of MATLAB code by replacing for and while loops with vectorized code. See Techniques for Improving Performance for more information on this.
|
Fast Fourier Transform Example | Conditional Control -- if, switch |
© 1994-2005 The MathWorks, Inc.