How do i create a 2d moving object on a predetermined path, with some extra modifications

I have a predetermined path. Currently, the graph is a God's eye view of said path, consisting of six legs. The object varies between three different speeds. What I need to do is insert a 2d object(need to create a specific shape) at the starting point, and have it travel along the line I already have graphed. What I want it to do is change line color as it goes to show the portion of path has been traveled, have a live table show up showing current distance traveled, distance along the leg, and current speed. I also want to have a indicator show up at each interval on the line that coincides with the data showing up on the graph.
After the simulation has finished, I want to have the table to stay on the screen showing the final data. So, i would be expecting to have enough data to create a spreadsheet.
I have all distances, bearings, and speeds given to me.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAnimation についてさらに検索

質問済み:

2017 年 9 月 18 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by