How to solve a system of matrix equations?

4 views (last 30 days)
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?
  2 Comments
Torsten
Torsten on 18 Dec 2018
In a previous request, you wanted the 3x3 matrix to be a rotation matrix. Is this no longer important ?
Torsten
Torsten on 18 Dec 2018
And the rotation axis in your case passes through the origin ?

Sign in to comment.

Accepted Answer

Matt J
Matt J on 18 Dec 2018
For example, given
A=rand(3,87);
X=rand(3,3);
B=X*A;
you can reconstruct X by doing,
X=B/A;
  3 Comments
Christoph Müßig
Christoph Müßig on 18 Dec 2018
Thank you very much, this perfectly solves my question :)
Matt J
Matt J on 18 Dec 2018
You're welcome, but please Accept-click the answer, if that's the case.

Sign in to comment.

More Answers (0)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!