
Repetitive computations
-
Programming tools: Input/output (assign/graph-&-display) Repetition (for) Decision (if) Arrays List of numbers in brackets A comma or space separates numbers (columns) A semicolon separates row Zeros and ones Matrices: zeros() ones() Indexing (row,column) Colon Operator: Range of Data first:last or first:increment:last Manipulating Arrays & Matrices Transpose
17p
doanhung_dtvtk10
19-03-2013
71
4
Download
-
The for loop is a MATLAB construct that allows a sequence of MATLAB statements to be executed more than once. The for loop repeats a block of commands for a specified number of times; the specified number is established before the loop is executed.
19p
feteler
27-11-2012
44
2
Download