plotting new axis given a DCM
Afficher commentaires plus anciens
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 commentaires
Iain
le 30 Août 2013
Why not plot whatever it is that you want to plot on two separate axes?
Melissa
le 30 Août 2013
Iain
le 30 Août 2013
Plot a unit vector on it?
Melissa
le 30 Août 2013
Iain
le 30 Août 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
le 30 Août 2013
hgtransform() ?
Melissa
le 30 Août 2013
Melissa
le 30 Août 2013
Melissa
le 30 Août 2013
Réponses (0)
Catégories
En savoir plus sur Assembly dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!