Hi Manju,
I understand that you want to visualize motion of legs of horse. If you want to visualize in the 3D plotting format you can use these functions: - ’plot3’,’scatter3’,’quiver3’. For more information refer to the documentation below :-
- https://in.mathworks.com/help/matlab/ref/plot3.html (Documentation for ‘plot3’ function )
- https://in.mathworks.com/help/matlab/ref/scatter3.html (Documentation for ‘scatter3’ function )
- https://in.mathworks.com/help/matlab/ref/quiver3.html (Documentation for ‘quiver3’ function )
For animation you can use ‘drawnow’ function. You can refer following documentation for animation function.
- https://in.mathworks.com/help/matlab/ref/drawnow.html (Documentation for ‘drawnow’ function )