MATLAB: How to make different points movable in MATLAB

MATLAB

I wanted help in making different point moving with constant velocity. All points should be moving at constant speed.

Best Answer

Use scatter and record the handle . Loop updating the XData and YData properties of the handle and drawnow()