MATLAB Answers


How to solve a system of matrix equations?

Asked by Christoph Müßig on 18 Dec 2018
Latest activity Commented on by Matt J
on 18 Dec 2018
Given are two lists of 87 3x1 vectors each. I also know that when multiplying a 3x3 matrix by the nth vector of the first list, I get the nth vector of the second list. The 3x3 matrix is ​​the same in all these calculations. So it's a system of equations with 87 equations and I want to solve for the content of the 3x3 matrix. I've tried to approximate the solution with Machine Learning and Curve Fitting, but there are too few equations for that. How could I solve this problem mathematically or approximate the solution with Matlab?


In a previous request, you wanted the 3x3 matrix to be a rotation matrix. Is this no longer important ?
And the rotation axis in your case passes through the origin ?

Sign in to comment.

1 Answer

Answer by Matt J
on 18 Dec 2018
 Accepted Answer

For example, given
you can reconstruct X by doing,


If the result needs to be a rotation matrix, as Torsten speculates, then you can do that with this File Exchange submission,
Thank you very much, this perfectly solves my question :)
You're welcome, but please Accept-click the answer, if that's the case.

Sign in to comment.