You are on page 1of 1

words

building a 3x3 matrix in matlab:

define matrix with:


A = [1 2 3; 4 5 6; 7 8 9]
semicolons delineate rows, spaces separate columns. Commas can also be used to
separate columns.

eig(A) will calculate eigenvalues indiscriminately.

You might also like