HW5_1 - phidotdeg = phidot*180/pi; p figure(1)

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

View Full Document Right Arrow Icon
clc close all clear all c t = [0:.001:5.623]; ts = .4039; tf = .2751; phi = 0.0863*exp(-2.476*t) - 0.0863*exp(-3.635*t); phis = 0.086*exp(-2.476*t); phif = -0.086*exp(-3.635*t); phidot = (-2.476*0.0863)*exp(-2.476*t) - (-3.635*0.0863)*exp(-3.635*t); p phideg = phi*180/pi; phisdeg = phis*180/pi; phifdeg = phif*180/pi;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: phidotdeg = phidot*180/pi; p figure(1) plot(t,phideg,'r',t,phisdeg,'b', t, phifdeg, 'g', ts, 0,'ok',ts, .681, '*k',ts,-1.814,'dk',t,0,'k') title('System Response by Song, Hwan') xlabel('time (sec)') ylabel('\phi(t) in deg') legend('\phi(t)','\phi_s(t)','\phi_f(t)')...
View Full Document

This document was uploaded on 10/24/2010.

Ask a homework question - tutors are online