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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Algorithms and Control Structures<br />

Algorithms ( ‏:(الخوارزميات an ordered sequence of precisely<br />

defined instructions that performs some task in a finite<br />

amount of time. Ordered means that the instructions can be<br />

numbered, but an algorithm must have the ability to alter<br />

the order of its instructions using a control structure. There<br />

are three main categories of algorithmic operations:<br />

Sequential operations: Instructions executed in order.<br />

Conditional operations: Control structures that first ask a<br />

question to be answered <strong>with</strong> a true/false answer and then<br />

select the next instruction based on the answer.<br />

Iterative operations (loops): Control structures that<br />

repeat the execution of a block of instructions.<br />

4-2<br />

Z.R.K

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

Saved successfully!

Ooh no, something went wrong!