Can MATLAB solve this matrix equation?

2 views (last 30 days)
Tim Luik
Tim Luik on 7 Sep 2018
Answered: Steven Lord on 7 Sep 2018
I never used Matlab before but I have a pretty complicated math problem:
t = T * R1 * R2 * R3 * v
T, R1, R2 and R3 are 4x4 Matrices with one unknown variable each (tz, r1, r2, r3). v and t are vectors. t has another unknown variable (t3). I would like to solve this equation and wonder if Matlab can help me do this. I have literally no idea, my University only scratched matlab.
Reasoning: I have a 2d picture (x and y coordinates) of a 3d transformed known geometrie and I would like to find out the rotation and transformation that was used to transform the geometrie.
  2 Comments
madhan ravi
madhan ravi on 7 Sep 2018
Upload all the required details of datas.
Aquatris
Aquatris on 7 Sep 2018
With the little information you gave, you can formulate the problem as an optimization.
Alternatively, you can expand the multiplication to find 4 equations with 4 unknowns. Assuming the unknowns appear linearly, you can put the equation in y = A*x form, x and y are 4x1 vector and A is 4x4 matrix and x = [tz r1 z2 r3]^T. Then, you can find the unknowns by x = inv(A)*y.

Sign in to comment.

Answers (1)

Steven Lord
Steven Lord on 7 Sep 2018
This sounds like an image registration problem. Maybe some of the functions listed on that page from the Image Processing Toolbox documentation can help you determine your transformation parameters. If after reading through the appropriate sections linked from that documentation page you're still not sure, take a look at the Image Registration examples and see if one of those is close enough to your application that you can adapt it to your data.

Community Treasure Hunt

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

Start Hunting!