plotting new axis given a DCM
显示 更早的评论
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 个评论
Iain
2013-8-30
Why not plot whatever it is that you want to plot on two separate axes?
Melissa
2013-8-30
Iain
2013-8-30
Plot a unit vector on it?
Melissa
2013-8-30
Iain
2013-8-30
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
2013-8-30
hgtransform() ?
Melissa
2013-8-30
Melissa
2013-8-30
Melissa
2013-8-30
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Assembly 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!