MATLAB: Jagged Sine Wave Results

MATLABsystemresponcevibrations

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?

Best Answer

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