plotting new axis given a DCM
Mostrar comentarios más antiguos
Good Morning,
If I am given a coordinate system centered at [0,0,0] and have obtained the cosines of the angles (DCM) how can I apply this to obtain the rotated coordinate system on a plot?
Thanks,
Mel
10 comentarios
Iain
el 30 de Ag. de 2013
Why not plot whatever it is that you want to plot on two separate axes?
Melissa
el 30 de Ag. de 2013
Iain
el 30 de Ag. de 2013
Plot a unit vector on it?
Melissa
el 30 de Ag. de 2013
Iain
el 30 de Ag. de 2013
OldCords = [0 1;0 0;0 0] %origin, and x = 1 (unit vector)
NewCords = DCM * OldCords;
plot3(NewCords(1,:),NewCords(2,:),NewCords(3,:))
Walter Roberson
el 30 de Ag. de 2013
hgtransform() ?
Melissa
el 30 de Ag. de 2013
Melissa
el 30 de Ag. de 2013
Melissa
el 30 de Ag. de 2013
Respuestas (0)
Categorías
Más información sobre Assembly en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!