Chapter 4: Programming with MATLAB - FET
Chapter 4: Programming with MATLAB - FET
Chapter 4: Programming with MATLAB - FET
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
The typical structure of a<br />
while loop follows.<br />
while logical expression<br />
statements<br />
end<br />
For the while loop to function<br />
properly, the following two<br />
conditions must occur:<br />
1. The loop variable must have a<br />
value before the while statement<br />
is executed.<br />
2. The loop variable must be<br />
changed somehow by the<br />
statements.<br />
Flowchart of the while<br />
loop. Figure 4.5–3<br />
Z.R.K<br />
4-29 More See pages 221-223.