i have A1 which 2×2 matrix and B1 which 2×1 matrix. i have a system
A1*Y=B1.
i wish to solve it by
Y = A1/B1;
but it shows
error matrix dimension must agree.
i can understand why it is showing like this, but how to solve this problem?
A1 = [x1,(r11*X1+r12*Y1+r13*Z1+Tx);x2,(r11*X2+r12*Y2+r13*Z2+Tx)]; B1 = [-x1*(r31*X1+r32*Y1+r33*Z1);-x2*(r31*X2+r32*Y2+r33*Z2)]; Y = A1/B1; disp(Y);
please let me know
Best Answer