MATLAB8

# MATLAB8 - MATLAB#8 The Laplace Transform Jillian Peacock...

This preview shows pages 1–5. Sign up to view the full content.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MATLAB #8: The Laplace Transform Jillian Peacock A06402794 30 November 2006 Math 20D Professor Stevens Section B01 MATLAB #8: Exercise 8.1: a. >> Y = laplace(1,t,s) Y = 1/s >> Y = laplace(((cos (t))^2),t,s) Y = 2/s/(s^2+4)*(1+1/2*s^2) b. c. >> Y = laplace(((sin (t))^2),t,s) Y = 2/s/(s^2+4) d. y = ilaplace((5/(9+s^2)),s,t) y = 5/3*sin(3*t) Exercise 8.2: a. >> f='Heaviside(t)' f = Heaviside(t) >> ezplot(f,[-5,5])-5-4-3-2-1 1 2 3 4 5 0.2 0.4 0.6 0.8 1 t Heaviside(t) b. >> f='Heaviside(t+3)' f = Heaviside(t+3) >> ezplot(f,[-5,5])-5-4-3-2-1 1 2 3 4 5 0.2 0.4 0.6 0.8 1 t Heaviside(t+3) At the value t=-3 the graph jumps from 0 to 1. c. >> f='Heaviside(t-1)' f = Heaviside(t-1) >> ezplot(f,[-5,5])-5-4-3-2-1 1 2 3 4 5 0.2 0.4 0.6 0.8 1 t Heaviside(t-1) Exercise 8.3: a. >> h = 'Heaviside(t+1)-Heaviside(t-2)' h = Heaviside(t+1)-Heaviside(t-2) >> ezplot(h,[-3,3,-0.5,1.5])-3-2-1 1 2 3-0.5 0.5 1 1.5 t Heaviside(t+1)-Heaviside(t-2) b. >> g=('+Heaviside(t+1)-Heaviside(t)+Heaviside(t-1)-Heaviside(t-2)')...
View Full Document

{[ snackBarMessage ]}

### Page1 / 6

MATLAB8 - MATLAB#8 The Laplace Transform Jillian Peacock...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online