Posted by: santosh1984 December 6, 2009
Login in to Rate this Post:
0
?
![](/wysiwyg/editor/images/smiley/msn/thumbs_up.gif)
![10 more flags than likes deactivates post.](/wysiwyg/editor/images/smiley/msn/thumbs_down.gif)
Your dimensions are right. (A-A1) is a 4x4 matrix and B1 is a 4x2 matrix which implies your Am matrix is 2x4.
I just tried it in matlab. Type this in your program or command window after defining the matrices A, B1, A1;
Am=B1\(A-A1); remember it's \ not /
However, Am is coming out to be a zero matrix. I don't know if that is right. Solution from matlab:
A =
0 1.0000 0 -0.0001
7.5781 21.2169 -2.4152 -6.1767
0 -0.0004 0 1.0001
27.2402 78.6220 -8.6725 -22.9705
A1 =
0 1.0000 0 0
7.5781 21.2169 -2.4152 -6.1767
0 0 0 1.0000
27.2402 78.6220 -8.6725 -22.9705
B1 =
0 0
1.0000 0.0022
0 0
0 1.0000
Am =
0 0 0 0
0 0 0 0