What is the best way to animate a rocket trajectory through matlab?
5 ビュー (過去 30 日間)
古いコメントを表示
I have lat/lon/alt data, as well as relative euler angles roll, pitch, yaw. What is the best way to animate the rocket trajectory? I would like to have the animation point be 3 orthogonal arrows representing the orientation of the rocket during trajectory. I dont have any experience with animations.
0 件のコメント
回答 (1 件)
Bjorn Gustavsson
2019 年 10 月 2 日
I would look for some of the arrow-contributions on the file exchange: Arrow3, arrow - and then simply loop over time calculate the unit-vectors for the rocket (e3 along the rocket, e2 and e1 perpendicular to e3 and each other), then just use either of the arrow-function to plot the rocket-rotation, perhaps with some 3-D globe/map, and capture the entire thing as a matlab-moview (see getframe, and VideoWriter).
HTH
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Animation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!