plotting new axis given a DCM
Ältere Kommentare anzeigen
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 Kommentare
Iain
am 30 Aug. 2013
Why not plot whatever it is that you want to plot on two separate axes?
Melissa
am 30 Aug. 2013
Iain
am 30 Aug. 2013
Plot a unit vector on it?
Melissa
am 30 Aug. 2013
Iain
am 30 Aug. 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
am 30 Aug. 2013
hgtransform() ?
Melissa
am 30 Aug. 2013
Melissa
am 30 Aug. 2013
Melissa
am 30 Aug. 2013
Antworten (0)
Kategorien
Mehr zu Assembly finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!