Jagged Sine Wave Results

14 views (last 30 days)
Dan Sullivan
Dan Sullivan on 19 Sep 2020
Answered: VBBV on 19 Sep 2020
For my Vibrations class, I was asked to plot a simple system responce seen in the image below, but the plot seems rather jagged. Is there something I am not inputting correctly?

Accepted Answer

David Hill
David Hill on 19 Sep 2020
t=0:.001:1;%need smaller increment
theta=.1*sin(20*t+pi/2);
plot(t,theta);

More Answers (1)

VBBV
VBBV on 19 Sep 2020
%if true
% code
% end
t = 0:0.005:1;
theta = 0.1*sin((20*t)+(pi/2));
plot(t,theta);

Categories

Find more on Vibration Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!