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 Exchange에서 Animation에 대해 자세히 알아보기

질문:

2017년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by