PRACTICAL MATLAB® FOR ENGINEERS PRACTICAL MATLAB

(sharon) #1

614 Practical MATLAB® Applications for Engineers


**************************************************
Solution to part (f)
Coefficients of the numerator of the trans. function
[butter/LPF/wc=1]
0 0 1
Coefficients of the denominator of the trans. function
[butter/LPF/wc=1]
1.0000 1.4142 1.0000
Transfer function:
1
-----------------
s^2 + 1.414 s + 1
**************************************************
***************************************************
Solution to part (g)
Coefficients of the numerator of the transf. function
[butter/wc=2rad/sec]
4
Coefficients of the denominator of the transf. function
[butter/wc=2rad/sec]
1.0000 2.8284 4.0000

Transfer function:
4
-----------------
s^2 + 2.828 s + 4
**************************************************

FIGURE 6.38
Plots of H(w) of Example 6.3 with R = L = C = 1.


1.4 0

 20

 40

 60

 80

 100

 120

 140

 160

 180

1.2

0.8

Magnitude
Angle in degrees

0.6

0.4

0.2

0
01 2
frequency in rad/sec

34 012
frequency in rad/sec

Phase of H(w) versus w
[for RLC1]

Magnitude of H(w) versus w
[or RLC1]

34

1
Free download pdf