Matlab 8

# Matlab 8 - MATLAB Assignment 8 The Laplace Transform...

This preview shows pages 1–6. 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 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 Assignment 8 The Laplace Transform Exercise 8.1 (a) >> syms Y2 s t >> Y=laplace(1,s) Y = 1/s >> Y=laplace(sin(t)^2,t,s) Y = 2/s/(s^2+4) (b) Since have L{1} and L{sin 2 (t)} which we can use in the equation cos 2 (t) = 1 - sin 2 (t) from sin 2 (t) + cos 2 (t) = 1 . So L(cos 2 (t)) = (1/s) – (2/s/(s 2 + 4)) = (-2 + (s 2 +4)) / (s * (s 2 +4)) which simplifies to L(cos 2 (t)) = (2 + s 2 )/s/ (s 2 +4) (c) >> Y=laplace(cos(t)^2,t,s) Y = (2+s^2)/s/(s^2+4) (d) >> y=ilaplace((2/(9+s^2)),s,t) y = 2/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+4)' f = Heaviside(t+4) >> ezplot(f,[-5,5])-5-4-3-2-1 1 2 3 4 5 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 t Heaviside(t+4) At t = -4 , the functions jump from 0 to 1. (c) >> 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) Exercise 8.3 (a) >> h='Heaviside(t+1)-Heaviside(t-2)' h =...
View Full Document

{[ snackBarMessage ]}

### Page1 / 8

Matlab 8 - MATLAB Assignment 8 The Laplace Transform...

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

View Full Document
Ask a homework question - tutors are online