HW3_1 - d figure(1 plot(t,dt-b,t,ds-black,t,df-r title'The...

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

View Full Document Right Arrow Icon
%Homework #3 %Problem #1 % clc clear all close all c tau.s = 0.495; t t = [0:.01:2*tau.s]; tf = 1./4.464; ts = 1./2.02; df = 0.4.*exp(-4.5.*t); ds = -0.4.*exp(-2.*t); dt = ds + df; sdt = -0.4.*exp(-2.*ts) + 0.4.*exp(-4.5.*ts); tsds = -0.4.*exp(-2.*ts); tsdf = 0.4.*exp(-4.5.*ts); tfdf = 0.4.*exp(-4.5.*tf); t dotdt = 0.8.*exp(-2.*t) - 18.*exp(-4.5.*t); d t0 = 0; dt0 = -0.4.*exp(-2.*t0) + 0.4.*exp(-4.5.*t0) dotdt0 = 0.8.*exp(-2.*t0) - 18.*exp(-4.5.*t0)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: d figure(1) plot(t,dt,'-b',t,ds,'-black',t,df,'-r') title('The fast term , The slow term , The total response by Song, Hwan') legend('Total Response', 'The Slow Term', 'The Fast Term') xlabel('time, (s)') ylabel('changing distance, (m)') y figure(2) plot(dt, dotdt, '-b') xlabel('The Response, (m)') ylabel('Derivative of DELTA, (m/s)') text(dt0, dt0dot, 'Initial Point') title('Phase Curve') t...
View Full Document

This document was uploaded on 10/24/2010.

Ask a homework question - tutors are online