How to plot motion analysis graphs using matlab?

14 views (last 30 days)
Christopher Lockett
Christopher Lockett on 2 May 2017
Answered: Soumya Saxena on 4 May 2017
We've been given three different functions, three different kinds of motion but have never been shown how to plot there graphs using matlab/simulink. We have to plot Unit Step Base Movement: y(t)=1, Harmonic Motion: y=0.7sin(wt) both with two different frequencies. How do we go about this?

Answers (1)

Soumya Saxena
Soumya Saxena on 4 May 2017
I understand that you want to plot a unit step movement. The "heaviside" may be useful. Please refer to the following documentation:
To plot periodic sine waves and harmonics, you may use "sin" function. The following documentation has more details:


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by