Calculating the transform matrix

  • Thread starter Thread starter cnix
  • Start date Start date
  • Tags Tags
    Matrix Transform
Click For Summary
To find the 2x3 transform matrix Q that maps the 3x1 vector A to vector B, one approach involves setting up the equation B = QA. The user attempted to isolate Q by multiplying both sides by A-1, but this resulted in a scalar value rather than the desired matrix. They also noted that the system has two equations and six unknowns, leading to a solution with four parameters. Utilizing multiple xy and x'y' pairs from the MATLAB algorithm could provide additional constraints to solve for the unknowns in Q. Further assistance is sought to effectively determine the transform matrix.
cnix
Messages
1
Reaction score
0
I have 2 sets of known 3x1 vectors A = [ x y 1 ] and B =[ x' y' 1 ] which represent points on two coordinates calculated by some MATLAB algorithm. I was wondering what I could do to find the 2x3 transform matrix that turns the x y set into the x' y' set.

[x'] [ ] [x]
[y']=[?] [y]
[1] [1]

B = QA

Q = 2x3 unknown transform matrix

What I've tried:
multiplying both sides by A-1, and I am left with A-1*B which is just a 1x1 scalar value. I've tried multiplying the variables out and I'm left with 2 equations and 6 unknowns. I also have many different values of xy & x'y' pairs given by the MATLAB algorithm but I don't see how that could help me. Any help is appreciated.
 
Physics news on Phys.org
The system QA has two equations and six unknowns, the elements of Q. We can solve the system for these unknowns, which gives a solution with four parameters.
 
Thread 'How to define a vector field?'
Hello! In one book I saw that function ##V## of 3 variables ##V_x, V_y, V_z## (vector field in 3D) can be decomposed in a Taylor series without higher-order terms (partial derivative of second power and higher) at point ##(0,0,0)## such way: I think so: higher-order terms can be neglected because partial derivative of second power and higher are equal to 0. Is this true? And how to define vector field correctly for this case? (In the book I found nothing and my attempt was wrong...

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 52 ·
2
Replies
52
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K