%Matlab - Matrix review
echo on
A=[5 4 3; 2 0 1]
disp('Determinant of A')
det(A)
disp ('Transpose of A')
A'
B=[2 3 1;5 4 0]
disp('Sum of A and B')
C=A+B
disp ('Product of A and B transpose');
D=A*B';
disp('Scalar product 3*A')
E=3*A
disp('eigvalues and eigvectors of A')
[V,E]=eig(A)
disp('Trace of A-sum of diagonal elements')
trace(A)
disp('Inverse of A')
inv(A)
% Other demos you can run in matlab are
%intro
%inverter
%eigmovie
%matmanip
