How can I make an animating plot moving with the speed I predefined?
Show older comments
Hello, I am trying to make a simple simulation of a robot following straight lines. I am using a plot function and I would like to know how to make the robot in the plot move with the speed I want (ex. 2 m/s or 5 m/s)
Thank you!
1 Comment
Dyuman Joshi
on 19 Jul 2023
One way would be to update the coordinates of the robot according to the velocity after each iteraion.
Accepted Answer
More Answers (0)
Categories
Find more on Animation 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!