HW4_1 - legend('Response','Damping Time Constant','Decay...

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

View Full Document Right Arrow Icon
%Song, Hwan %AAE 340 %Prob #1 % clear all close all clc c t = linspace(0,.5,100); theta = 0.1715.*exp(-12.*t).*sin(11.66.*t); theta_dot = (-12*.1715).*exp(-12.*t).*sin(11.66.*t)+11.66*(.1715)*cos(11.66.*t); dec_env = 0.1715*exp(-12.*t); d plot(t,theta) hold on plot(0.0833,0,'gx') plot(t,dec_env,'r') plot(t,-dec_env,'r') title({'System Response by Song, Hwan'}) xlabel('Time (s)') ylabel('Angle (deg)')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: legend('Response','Damping Time Constant','Decay Envelope') grid on hold off h figure plot(theta,theta_dot) hold on plot(0,114.592,'rx') plot(2.985,28.8114,'kx') plot(1.2398,-56.5379,'mx') title({'Phase curve by Song, Hwan'}) xlabel('Theta (deg)') ylabel('Theta dot (deg/s)') legend('Phase Curve','t=0','t=tau','t=2*tau') grid on hold off h...
View Full Document

Ask a homework question - tutors are online