Solved

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

Posted on 2006-11-04
3
599 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!
0
Comment
Question by:oxygen_728
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 250 total points
ID: 17875135
0
 
LVL 2

Assisted Solution

by:Ehsan_Noureddin
Ehsan_Noureddin earned 250 total points
ID: 17891202
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 ..
0
 

Author Comment

by:oxygen_728
ID: 17901336
Thanks for the tips!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Guide to the PMT, FV, IPMT and PPMT Functions In MS Excel we have the PMT, FV, IPMT and PPMT functions, which do a fantastic job for interest rate calculations.  But what if you don't have Excel ? This article is for programmers looking to re…
Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a nega…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now