PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

406 Practical MATLAB® Applications for Engineers


*****************************************
*****************************************
The int(exp(-2*t)^2*u(t)) from t=0 to inf is =
1/4

ans =
.25000000000000000000000000000000
*****************************************
*****************************************
The sym Fourier transform
of(exp(-2*t)*u(t)) is=
FT =
1/(2+i*w)
*****************************************
*****************************************
The sym Laplace transform
of(exp(-2*t)*u(t) is=
LT =
1/(s+2)
*****************************************

− 2 −1.5 − 1 −0.5 0 0.5 1 1.5 2
time (in sec)

− 2 −1.5 − 1 −0.5 0 0.5 1 1.5 2
time (in sec)

−0.5

0

0.5

1

−0.5

0

0.5

1

Amplitude

Amplitude

exp(-2*t)*u(t) versus t

[exp(-2*t)*u(t )]^2 versus t

FIGURE 4.52
Symbolic plots of part 4 of Example 4.9.

Free download pdf