# How to rotate a 3D vector using a rotation matrix?

## Recommended Posts

jdub    459
Question... Is it possible? If so, how is it done?

#### Share this post

##### Share on other sites
haegarr    7372
[quote name='jdub' timestamp='1311662555' post='4840394']
Question... Is it possible?...
[/quote]
It is the whole purpose of a rotation matrix!

[font="arial, verdana, tahoma, sans-serif"][size="2"][quote name='jdub' timestamp='1311662555' post='4840394']
... If so, how is it done?
[/quote]
An ordinary matrix by vector product is applied. [/size][/font][font="arial, verdana, tahoma, sans-serif"][size="2"]Look e.g. at [url="http://www.euclideanspace.com/maths/algebra/matrix/orthogonal/rotation/index.htm"]Euclidean Space on rotation matrices[/url]. And e.g. at [url="http://en.wikipedia.org/wiki/Matrix_multiplication#Non-technical_example"]wikipedia on the matrix vector product "non-technical example"[/url] (remember that a vector is a matrix with either 1 column (a so-called column-vector) or else a matrix with 1 row (a so-called row-vector), so a matrix by vector product is just a special case of a matrix by matrix product).[/size][/font]

## 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

## Sign in

Already have an account? Sign in here.

Sign In Now