Monday, November 3, 2008

Flow Control - Iteration and Selection


Loops and Conditional Statements

Description of Flow Control ('for - end', 'if - else' loops etc) in MATLAB is something that is best outsourced. There is a fair bit of material on that available already on the web and doubt I can add much that would be too different. Besides, basic idea of looping (iteration or repetition) and 'if-else' (selection) is quite intuitive and would be familiar to most of you. For the uninitiated, here is a good doc with lots of examples.

And, of course, you can also look at Kevin Sheppard's doc. It also has a lot of examples.

No comments: