HW3_1

# HW3_1 - text(ts dts\leftarrow DELTA(ts text(ts...

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

%Homework #3 %Problem #1 % clc clear all close all c tau.s = 0.4950; t t = [0:.01:2*tau.s]; ts = 1./2.02; tf = 1./4.464; ds = -0.4.*exp(-2.*t); df = 0.4.*exp(-4.5.*t); dt = ds + df; dts = -0.4.*exp(-2.*ts) + 0.4.*exp(-4.5.*ts); dsts = -0.4.*exp(-2.*ts); dfts = 0.4.*exp(-4.5.*ts); dftf = 0.4.*exp(-4.5.*tf); d dtdot = 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) dt0dot = 0.8.*exp(-2.*t0) - 18.*exp(-4.5.*t0) d figure(1) plot(t,dt,'-b',t,ds,'-black',t,df,'-r') title('The fast term , The slow term , The total response') legend('Total Response', 'The Slow Term', 'The Fast Term')
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: text(ts, dts, '\leftarrow DELTA (ts)') text(ts, dsts, '\leftarrow DELTA.s (ts)') text(ts, dfts,'\leftarrow DELTA.f (ts)') text(0, (1/3).*dsts, '\leftarrow (1/3)DELTA.s (0)') text(tf, dftf, '\leftarrow DELTA.f (tf)') text(0, (1/3).*dftf, '\leftarrow (1/3)DELTA.f (0)') xlabel('time, (s)') ylabel('DELTA, (m)') y figure(2) plot(dt, dtdot, '-b') xlabel('The Response, (m)') ylabel('Derivative of DELTA, (m/s)') text(dt0, dt0dot, 'Initial Point') title('Phase Curve') t...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern