You are on page 1of 1

1. Initialization of a matrix a = zeros(n); 2. No semi colon after a loop statement For i=1:j Statement End 3.

Now in order to access any element of a matrix a(I,j). 4. Similar case is with any vector 5. To initialize the matrix use square brackets a=[ 1 2 3; 4 5 6; 7 8 9] 6. Similar is the case for vectors. 7.

You might also like