{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW_41 - grid on hold off h#1 Part D theta_dot...

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

View Full Document Right Arrow Icon
close all clear all clc c %#1 PART C t = [0:.001:.5]; theta = .1715.*exp(-12.*t).*sin(11.66.*t); theta_deg = (.1715.*exp(-12.*t).*sin(11.66.*t)).*180./pi; t theta_decay_t = .1715.*exp(-12.*t); theta_decay_b = -.1715.*exp(-12.*t); theta_decay_t_deg = (.1715.*exp(-12.*t)).*180./pi; theta_decay_b_deg = (-.1715.*exp(-12.*t)).*180./pi; t figure(1) plot(0,0,'bo') hold on plot(.083,0,'ro') plot(.166,0,'cyo') plot(t,theta_deg) plot(t,theta_decay_t_deg,'b') plot(t,theta_decay_b_deg,'b') title('Total Response by Song, Hwan') xlabel('Time(sec)') ylabel('Theta(degrees)') legend('t = 0','t = tau','t = 2tau','Angle Response','Decay Envelope')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: grid on hold off h %#1 Part D theta_dot = -12.*.1715.*exp(-12.*t).*sin(11.66.*t) + 11.66.*.1715.*exp(-12.*t).*cos(11.66.*t); theta_dot_deg = (-12.*.1715.*exp(-12.*t).*sin(11.66.*t) + 11.66.*.1715.*exp(-12.*t).*cos(11.66.*t)).*180./pi; 1 figure(2) plot(theta_deg(1),theta_dot_deg(1),'bo') hold on plot(theta_deg(83),theta_dot_deg(83),'ro') plot(theta_deg(166),theta_dot_deg(166),'cyo') plot(theta_deg,theta_dot_deg) title('Phase Curve by Song, Hwan') xlabel('Theta(degrees)') ylabel('Theta_Dot(degrees/s)') legend('t = 0','t = tau','t = 2tau','Theta Dot(Theta)') grid on hold off...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online