MatLab Useful Commands

clear, reset and setup space

clc;clear;format short;

cramer's rule:

 x = ones(,1);
 a_det = det(A);
 for i = 1:
    C = A;
    C(:,i) = B;
    x(i,1) = det(C)/a_det;
 end
 
[V D] = eigvec(A) 

Comments