I have a matrix 'a' with size 3×3 and 'b' with size 3×1.i want to multiply the inverse of 'a' with matrix 'b'.I tried the below code but got an error "Matrix dimensions must agree". please help to solve this
a=[1 0 -3; 2 -2 1; 0 -1 3]; inv_a=inv(a); b=[0;2;121]; c=inv_a.*b;
Best Answer