How to plot motion analysis graphs using matlab?

3 views (last 30 days)
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:

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!