- What is the layout (locations) of the points in their initial locations?
- Is the 600 in units of meters?
- What time resolution do you want? Like how often do you want the plot of the point locations updated? Every second? Every half second? Every 1/10th of a second?
- What direction do the points move? Random directions? All in the same direction? Or if you have a set of "final" locations for each point, then the direction is determined.
Moving multiple points in an area at given velocity
1 view (last 30 days)
Show older comments
How to write a code for random number of points moving in an area at a given velocity.
There are random number of points ( >=50) in an area of 600*600, moving from one point to another at given velocity (10m/s).
I want to move random number (>=50) of points in the given area (600*600).
Please help me with the random number (>=50) of points moving with the given velocity and to calculate the trajectory of the points.
3 Comments
Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices 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!