me_375_lab_1

me_375_lab_1 - x1...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
0 0.5 1 1.5 2 2.5 3 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 Time (s) Displacement (m) experimental analytical t= (0:0.001:3); x=exp(-t).*(.5*cos(10*t) + 0.05*sin(10*t)); plot(t, x, 'r' ) %title 'Displacement vs Time' xlabel 'Time (s)' ylabel 'Displacement (m)' hold on
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x1 =[-.1961 -.2592 .1961 .0645 -.1882 .0934 -.0539 .0434 -.0171 0.0329]; t1=[0.2039 0.3975 0.5357 0.7707 0.8952 1.158 1.441 1.766 2.063 2.561]; plot(t1, x1, 'ob' ) legend( 'experimental' , 'analytical' ) grid on ;...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online