How to plot motion analysis graphs using matlab?

3 次查看(过去 30 天)
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?

回答(1 个)

Soumya Saxena
Soumya Saxena 2017-5-4
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:

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by