tracing the path of a moving particle in using plot
8 次查看(过去 30 天)
显示 更早的评论
Hi, I want to track the motion of a particle from start to end by tracing its path from start to finish. The particle is moving according to a set of rules. How do I do this?
0 个评论
回答(1 个)
Walter Roberson
2016-1-21
Insufficient information about what you want the graph to look like, what information is available, whether you want to simulate the particle moving along a path.
Perhaps you want to use the new-ish animatedLine() function. Or perhaps you want to modify my code from http://www.mathworks.com/matlabcentral/answers/220473-how-can-i-use-the-plot-function-to-show-two-moving-points-with-different-velocities#answer_180901
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!