Lecture 3 Creating M - files
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