13.01.2015 Views

Chapter 4: Programming with MATLAB - FET

Chapter 4: Programming with MATLAB - FET

Chapter 4: Programming with MATLAB - FET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4-3<br />

Components of<br />

an Algorithm<br />

• Variables and values<br />

• Instructions<br />

• Sequences<br />

• Procedures<br />

• Selections<br />

• Repetitions<br />

• Documentation<br />

Structured<br />

<strong>Programming</strong><br />

From Algorithms to Programs<br />

A technique for designing programs in which a hierarchy<br />

of modules is used, each having a single entry and a<br />

single exit point, and in which control is passed downward<br />

through the structure <strong>with</strong>out unconditional branches to<br />

higher levels of the structure.<br />

In <strong>MATLAB</strong> these modules can be built-in or user-defined<br />

Z.R.K<br />

functions.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!