is this how you multiply a matrix with a vector?

Recommended Posts

Hi, i want to multiply a vector with a matrix. I am curious if this is how to do it.


m11 m12 m13          x         m11*x + m12*y + m13*z
M * v =    m21 m22 m23    *     y    =    m21*x + m22*y + m23*z
m31 m32 m33          z         m31*x + m32*y + m33*z


And if thats so, does anyone know where i can get some precalculated answers to test? Thanks

Share on other sites
Yes, its correct.

Always multiply a row of the first with a column of the second vector/matrix.

Edit:
For an example of a rotation matrix see here.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

• Forum Statistics

• Total Topics
628281
• Total Posts
2981796

• 10
• 11
• 17
• 14
• 9