### Tags: angles, euler, eulerangles, function, matlab, matrix, phi, programming, psi, rotation, similar, specified, than123rotationmatrix3dphi, theta

# Euler angles

On Programmer » Matlab

1,525 words with 2 Comments; publish: Sun, 18 May 2008 19:56:00 GMT; (20078.13, « »)

I need a similar function than

{RotationMatrix3D[phi, theta,

psi] , give the matrix for rotation by the specified Euler

angles phi, theta, and psi in three dimensions}

},

I dont found function in matlab, because I need to rotation a

matrix in 3D to move axis in the space, but it isnt in a grafic I

need it to calculete a position. thank you

*http://matlab.todaysummary.com/q_matlab_15937.html*

All Comments

Leave a comment...

- 2 Comments
- Fatima cerezo:
<SNIP thinking in euler angles...

you may find this beauty by <giampiero campa> interesting

<http://www.mathworks.com/matlabcent.../>

us

#1; Sun, 18 May 2008 19:58:00 GMT

- Fatima cerezo:
- "Fatima cerezo" <fatima.cerezo.matlab.todaysummary.com.gmail.com> wrote in message
news:ef48945.-1.matlab.todaysummary.com.webcrossing.raydaftYaTP...

>I need a similar function than

> {RotationMatrix3D[phi, theta,

> psi] , give the matrix for rotation by the specified Euler

> angles phi, theta, and psi in three dimensions}

> },

> I dont found function in matlab, because I need to rotation a

> matrix in 3D to move axis in the space, but it isnt in a grafic I

> need it to calculete a position. thank you

help makehgtform

You'll want something like this:

makehgtform('xrotate',phi,'yrotate',thet

a,'zrotate',psi)

But it'll depend on which convention you're using

on your angles.

-MPG-

#2; Sun, 18 May 2008 19:59:00 GMT

- "Fatima cerezo" <fatima.cerezo.matlab.todaysummary.com.gmail.com> wrote in message