plotting new axis given a DCM
Show older comments
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 Comments
Iain
on 30 Aug 2013
Why not plot whatever it is that you want to plot on two separate axes?
Melissa
on 30 Aug 2013
Iain
on 30 Aug 2013
Plot a unit vector on it?
Melissa
on 30 Aug 2013
Iain
on 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
on 30 Aug 2013
hgtransform() ?
Melissa
on 30 Aug 2013
Melissa
on 30 Aug 2013
Melissa
on 30 Aug 2013
Answers (0)
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!