[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2006-11-04
3
Medium Priority
?
606 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 85

Accepted Solution

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

Assisted Solution

by:Ehsan_Noureddin
Ehsan_Noureddin earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
Lithium-ion batteries area cornerstone of today's portable electronic devices, and even though they are relied upon heavily, their chemistry and origin are not of common knowledge. This article is about a device on which every smartphone, laptop, an…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

873 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