We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Linear Algebra: Should I multiply these two translation matrices together?

oxygen_728
oxygen_728 asked
on
Medium Priority
621 Views
Last Modified: 2009-07-29
If I have 2 translation matrices.

Matrix A: Translates 2 units up the Y axis.

Matrix B: Translates 3 units up the Y axis, and 2 units up the X axis.

If I multiple these two matrices together, will the resulting matrix translate 5 units up the Y axis, and 2 units up the X axis?

That is my goal, and apparently I'm just enough years beyond Linear algebra to remember.

Thanks!
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2015
Commented:

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Yes , Exactly ..
if you have a 3D vector for translating and rotating you must add one row to your matrix i will show you :


      | X |
V = | Y |
      | Z |
      | 1 |

Translatin Matrix for translating a,b,c is :

Trans = | 1 0 0 a |
            | 0 1 0 b |
            | 0 0 1 c |
            | 0 0 0 1 |

now if you Multiple your Vector to Trans Matrix the Result Matrix is  :

New V = | X+a  |
             | Y+b  |
             | Z+c  |
             | 1      |

Now you Can Remove the added Row ..
is it you answer ?


and for Trans 2 o 3 o more time you just need to translate the result again and again ..

Author

Commented:
Thanks for the tips!
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.