Вы находитесь на странице: 1из 53

..

., - . ..


200700
, 2006

2006

..

1. ...................................................................... 3
2. ............................................................... 4
3.
............................................................................ 4
4.
MATHCAD ................................................................................... 14
5.
MATLAB....................................................................................... 15
6. ................................................................ 17
7. ......................................................................................... 17
8. .................................................................................. 18
........................................................................................... 20
1 .................................................................................................... 22
.1.1.
Mathcad .............................................................................................................. 22
.1.2. 1
Mathcad .............................................................................................................. 27
.1.3.
2 Mathcad................................................................................ 33
.1.4.
Mathcad ............................................................................................... 41

2 .................................................................................................... 49
.2.1.
MATLAB ........................................................................................................... 49
.2.2. 1
MATLAB ........................................................................................................... 50
.2.3.
2 MATLAB ............................................................................. 51
.2.4.
MATLAB ............................................................................................ 52

- 2006

. 2 53

..

1.
()
.
,
, .
,
.
.
( ), , ( ) .
.1
.
1

, ,

8
8
8
115
93
80

()
()

68
34
18
16

32
16

16

18
6

12

47

61

62

- 2006

. 3 53

..

2.

4- . :

() Mathcad;

MATLAB.

3.

, .
. . (
, ). ,
.
. - [1, 7]. .

= 1

H (s )

H ( p)

H (z )

1- -. H(s ) .

, = f f , f
( = 1 ).
a ,
a .
, 1, 2
- 2006

. 4 53

..

(). - [1, 7]. H(s ) : , -, , .


[1] - , (s ) , :
K0
(s) =
Fs+Q

C s 2 + A0 k

s 2 + B1k s + B0k ,
k =1

(1)

F , Q , C , A0 k k = 1, r
- .2.
2
-

(1)
n
.
F
.
.
Q
.
.
C
.
.
A0 k
.

1
2

1
1
1
1
0
0
0
0
1

1
1
1
1
0
0
1
1
0
0
1
1
1
1
A0 k
A0 k
1

A0 k

A0 k

: k = 1 , r

2- .
H( p ) ,
.
S- P-.
:

H( p ) = H( s ) s = ( p ) .

(2)

s = ( p ) .3.
- 2006

. 5 53

..

s = ( p )

s = p

s = p

s = p 2 + 02 ( p )

()

s = ( p )

()

( p 2 + 02 )

: = 2 f ; 0 = 2 f0 ;

= 2 1 = 2 f

s = ( p ) .3
- ( s ) H( p ) - :


Q p + Q0
H( p ) = 1
F1 p + F0

E 2k p 2 + E 0k

p 2 + D1k p + D 0 k

k =1

(3)


H( p) =

Q 2 p 2 + Q1 p + Q 0
F2 p 2 + F1 p + F0

k =1

E 4k p 4 + E 2k p 2 + E 0k

p 4 + D 3k p 3 + D 2 k p 2 + D1k p + D 0 k

(4)

Q1 , Q 0 , F1 , F0 , E 2 k , E 0 k , D1k , D 0 k ( k = 1, r )

(3)

.4,

F0 , E 4 k , E 2 k , E 0 k , D 3k , D 2 k , D1k , D 0 k

( k = 1, r )

Q 2 , Q1 , Q 0 , F2 , F1 ,

(4)

.5.
4
(3)

Q1

Q0

n .

K0

F1
F0
- 2006

n .

K0
F


n .
n .
0
K0
0
Q

K0

. 6 53

..

E 2k

A0 k B0 k

E 0k

A0 k 2

C 2 B0 k

D1k

B1k

B1k B0 k

D 0k

B0 k 2

2 B0k

: n -; k = 1 , r

(4)

n .

Q2

n .
0

Q1

K 0

Q0

K0

F2

F1

F0

02

n .
K0

n .
0
0

K 0 02

K0

F
Q 02

A0 k B0 k

E 4k

E 4k

E 2k

A0 k 2 + 2C 02

E 0k

C 04

A0 k 04 B0 k

D 3k

B1k

B1k B0 k

D 2k

B0k 2 + 2 02

D 2k

B0k 2 + 2 02

D1k

B1k 02

B1k 02 B0 k

D 0k

04

04

(C
(
(

+ 2 A0 k 02 B0 k

+ 2 B0 k 02

+ 2 B0 k 02

)
)

B0 k
B0 k

: n -; k = 1 , r

3- H (z ) .
P- Z--.
- 2006

. 7 53

..

P- Z, P-
Z-.
.

H ( z ) = H( p)

p = ( z ) .

(5)

:
1
1
p = ( z ) = 2 1 z 1 = 2 f 1 z 1 ,
T 1+ z
1+ z

(6)

f = 1 T .
,

= 2 f tg ( T 2 ) ,

(7)

, .
- .

(3)
H ( z) =

a0 + a1 z 1
1 + b1 z 1

a0 k + a1k z 1 + a2 k z 2
1 + b1k z 1 + b2 k z 2

k =1

(8)

(4)
H ( z) =

a0 + + a1 z 1 + a2 z 2
1 + b1 z

+ b2 z

k =1

a0 k + a1k z 1 + a2 k z 2 + a3k z 3 + a4 k z 4
1 + b1k z

+ b2 k z

+ b3k z

+ b4 k z

. (9)

(8), (3), .6, (9),


(4) .7.

- 2006

. 8 53

..

(8)


n .

n .

a0

[ Q 0 + ( 2 f ) Q1 ] [ F0 + ( 2 f ) F1 ]

K0

a1

[ Q 0 ( 2 f ) Q1 ] [ F0 + ( 2 f ) F1 ]

b1

[ F0 ( 2 f ) F1 ] [ F0 + ( 2 f ) F1 ]

a0 k
a1k
a2 k

b1k
b2 k

[ E 0k + ( 2 f ) 2 E 2k ] [ D 0k + ( 2 f ) D1k + ( 2 f ) 2 ]
2 [ E 0 k ( 2 f ) 2 E 2 k ] [ D 0 k + ( 2 f ) D1k + ( 2 f ) 2 ]
[ E 0k + ( 2 f ) 2 E 2k ] [ D 0k + ( 2 f ) D1k + ( 2 f ) 2 ]
2 [ D 0 k ( 2 f ) 2 ] [ D 0 k + ( 2 f ) D1k + ( 2 f ) 2 ]
[ D 0k ( 2 f ) D1k + ( 2 f ) 2 ] [ D 0k + ( 2 f ) D1k + ( 2 f ) 2 ]

: n -; k = 1 , r

(9)
a0

a1

a2
b1
b2

- 2006


n .
n .

Q 0 + ( 2 f ) Q1 + ( 2 f ) 2 Q 2
F0 + ( 2 f ) F1 + ( 2 f ) 2 F2
2 [ Q0 ( 2 f )2 Q2 ]

F0 + ( 2 f ) F1 + ( 2 f ) 2 F2
Q 0 ( 2 f ) Q1 + ( 2 f ) 2 Q 2
2

F0 + ( 2 f ) F1 + ( 2 f ) F2

2 [ F0 ( 2 f ) 2 F2 ]

F0 + ( 2 f ) F1 + ( 2 f ) 2 F2
F0 ( 2 f ) F1 + ( 2 f ) 2 F2
2

F0 + ( 2 f ) F1 + ( 2 f ) F2

K0
0
0

. 9 53

..

a0 k
a1k
a2k

a3k
a4k
b1k
b1k
b2 k
b3k
b4 k

E 0k + ( 2 f ) 2 E 2k + ( 2 f ) 4 E 4k
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
4 [ E 0k ( 2 f ) 4 E 4k ]

D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4

2 [ 3 E 0k ( 2 f ) 2 E 2k + 3 ( 2 f ) 4 E 4k ]
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
4 [ E 0k ( 2 f ) 4 E 4k ]
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
E 0k + ( 2 f ) 2 E 2k + ( 2 f ) 4 E 4k
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4

2 [ 2 D 0 k + ( 2 f ) D1k ( 2 f ) 3 D 3k 2 ( 2 f ) 4 ]
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
2 [ 2 D 0 k + ( 2 f ) D1k ( 2 f ) 3 D 3k 2 ( 2 f ) 4 ]
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
2 [ 3 D 0k ( 2 f ) 2 D 2k + 3 ( 2 f ) 4 ]
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
2 [ 2 D 0 k ( 2 f ) D1k + ( 2 f ) 3 D 3k 2 ( 2 f ) 4 ]
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4
D 0 k ( 2 f ) D1k + ( 2 f ) 2 D 2 k ( 2 f ) 3 D 3k + ( 2 f ) 4
D 0 k + ( 2 f ) D1k + ( 2 f ) 2 D 2 k + ( 2 f ) 3 D 3k + ( 2 f ) 4

: n -; k = 1 , r

:
H ( z ) = H( s ) s = ( ( z )) = ( z ) .

(10)

. , (10)
[1].
- 2006

. 10 53

..

s = (z )
.8.
8


s = (z )

s = g 1 z 1

) (1 + z 1 ),

g = ctg ( W )

s = g 1 + z 1

) (1 z 1 ),

g = tg ( W )

s=g

()

cos [ ( W 2 + W1 )]
cos [ ( W 2 W1 )]

s=g

1 z 2

g = ctg [ ( W 2 W1 )] ;

()

1 2 z 1 + z 2

1 z 2
1 2 z 1 + z 2

g = tg [ ( W 2 W1 )] ;

cos [ ( W 2 + W1 )]
cos [ ( W 2 W1 )]

: g , : W = f f

.8
H(s ) - (1)
(8) (9).
(8) (9), (1)
.8, .9.
- 2006

. 11 53

..


Hk (s ) H k ( z )

K0
a0 + a1 z 1

Fs + Q
1 + b1 z 1



n .
a0 = K 0 ; a1 = K 0 ;
b1 = ( Q Fg ) ,
= F g + Q

n .
a0 = K 0 ; a1 = 0 ; b1 = 0

C s 2 + A0 k

s 2 + B1k s + B0k
k =1

a0 k + a1k z 1 + a2 k z 2
1 + b1k z 1 + b2 k z 2

k =1

(
) k ;
a1k = 2 ( A0 k Cg 2 ) k ;
a2 k = ( Cg 2 + A0 k ) k ;
b1k = 2 ( B0 k g 2 ) k ;
b2 k = ( g 2 B1k g + B0 k ) k ,
a0 k = Cg 2 + A0 k

K0
a0 + a1 z 1

Fs + Q
1 + b1 z 1

C s 2 + A0 k

s 2 + B1k s + B0k
k =1

a0 k + a1k z 1 + a2 k z 2
1 + b1k z 1 + b2 k z 2

k =1

n .
a0 = K 0 ; a1 = K 0 ;
b1 = ( Fg Q ) ,

= Fg +Q
n .
a0 = K 0 ; a1 = 0 ; b1 = 0

(
) k ;
a1k = 2 ( Cg 2 A0 k ) k ;
a2 k = ( Cg 2 + A0 k ) k ;
b1k = 2 ( g 2 B0 k ) k ;
b2 k = ( g 2 B1k g + B0 k ) k ,
a0 k = Cg 2 + A0 k

K0

Fs + Q

a0 + a1 z 1 + a2 z 2
1 + b1 z 1 + b2 z 2

- 2006

k = g 2 + B1k g + B0 k

k = g 2 + B1k g + B0 k

n .
a0 = K 0 ; a1 = 0 ;
a2 = K 0 ; b1 = 2 Fg ;
b2 = ( Fg Q ) ,

= Fg +Q

. 12 53

..

n .
a0 = K 0 ; a1 = a2 = 0 ; b1 = b2 = 0
r

C s 2 + A0 k

a0 k = Cg 2 + A0 k

s 2 + B1k s + B0k

a1k = 4 Cg 2 k ;

k =1

k =1

aik z

a3k = 4 Cg 2 k ;

bik z i
i =1

a4 k = Cg 2 + A0 k k ;
b1k = 2 g ( B1k + 2 g ) k ;

[ (

b2 k = 2 g 2 1 + 2 2 B0 k k ;
b3k = 2 g ( B1k 2 g ) k ;

b4 k = g 2 B1k g + B0 k
K0

Fs + Q

a0 + a1 z 1 + a2 z 2
1 + b1 z 1 + b2 z 2

) k ,

k = g + B1k g + B0 k

a2 k = 2 C g 2 1 + 2 2 A0 k k ;

i =0
4

1+

) k ;

n .
a0 = K 0 ; a1 = 2K 0 ;
a2 = K 0 ; b1 = 2Q ;
b2 = ( Q Fg ) ,
= Fg +Q

n .
a0 = K 0 ; a1 = a2 = 0 ; b1 = b2 = 0

C s 2 + A0 k

s 2 + B1k s + B0k

k =1

k =1

a0 k = Cg 2 + A0 k k ;
a1k = 4 A0 k k ;

[ (

a2 k = 2 A0 k 1 + 2 2 Cg 2 k ;
a3k = 4 A0 k k ;

i =0
4

a4 k = Cg 2 + A0 k k ;
b1k = 2 ( B1k g + 2 B0 k ) k ;

aik z i
1+

bik z i
i =1

[ (

b2 k = 2 B0 k 1 + 2 2 g 2 k ;
b3k = 2 ( B1k g 2 B0 k ) k ;

b4 k = g 2 B1k g + B0 k

) k ,

k = g 2 + B1k g + B0 k

: n -

- 2006

. 13 53

..

:
(8)

A( T ) = H e

k =1

j T

)=

[ a0 + a1 cos ( T ) ] 2 + [ a1 sin ( T )] 2

[ 1 + b1 cos ( T ) ] 2 + [ b1 sin ( T )] 2

[ a0 k + a1k cos( T ) + a2 k cos ( 2T )] 2 + [ a1k sin (T ) + a2 k sin ( 2T ) ] 2


[1 + b1k cos ( T ) + b2 k cos ( 2T )] 2 + [b1k sin ( T ) + b2 k sin ( 2T )] 2

(11)

(9)
A( T ) =

[ a0 + a1 cos ( T ) + a2 cos (2 T ) ] 2 + [ a1 sin ( T ) + a2 sin (2 T ) ] 2

[ 1 + b1 cos ( T ) + b2 cos (2 T ) ] 2 + [ b1 sin ( T ) + b2 sin (2 T ) ] 2

[ a0 k + a1k cos ( T ) + a2 k cos (2 T ) + a3k cos (3 T ) + a4 k cos (4 T ) ] 2 +

2
k =1 [ 1 + b1k cos ( T ) + b2 k cos ( 2 T ) + b3k cos (3 T ) + b4 k cos ( 4 T ) ] +
r

1 2

+ [ a1k sin ( T ) + a2 k sin (2 T ) + a3k sin (3 T ) + a4 k sin (4 T ) ] 2

+ [ b1k sin ( T ) + b2 k sin (2 T ) + b3k sin (3 T ) + b4 k sin (4 T ) ] 2

. (12)

4.
MATHCAD
.1
-,
Mathcad . : - .
-
(7). (, ,
) - (, 1, 2, ).

- 2006

. 14 53

..

5.
MATLAB

Mathcad ,
, Mathcad.
MATLAB.
MATLAB
.
, .
MATLAB
. , , , , ,
.
MATLAB 6 . Signal
Processing Toolbox, Filter Design Toolbox, Wavelet Toolbox Image Processing
Toolbox. , () .
, , , .
MATLAB
, , , .
.
Signal Processing.
.
, .

- (buttap, cheb1ap, cheb2ap, ellipap, besselap), (lp2lp, lp2hp, lp2bp, lp2bs),
(butter, cheby1, cheby2, ellip),
- 2006

. 15 53

..

(buttord, cheb1ord, cheb2ord, ellipord), (bilinear), (impinvar), (butter, cheby1, cheby2, ellip), (buttord, cheb1ord, cheb2ord, ellipord)1, (tf2zp, zp2tf, tf2ss, ss2tf, zp2ss, ss2zp, tf2sos, sos2tf,
zp2sos, sos2zp, ss2sos, sos2ss), (freqs) (freqz) .
.2 ,
MATLAB.
, - .

(remez, cremez, gremez),

(firls, fircls, fircls1)
(fir1, fir2).
Signal Processing ,
: SPTool FDATool. GUI- (Graphic User Interface ) , , . :
;
;
;
;
MATLAB.
MATLAB
( ,
, , ,
-, , , 1

- 2006

. 16 53

..

,
.).

6.
,
1 2.

, .10, , .
, , , ,
, ,
, .

7.
1 0

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

- 2006

12000
6000
70000
70000
9000
8000
80000
80000
7000
12000
55000
55000
7000
14000
60000
60000

f 1

1500
14000
13000

2000
16000
15000

3000
10000
9000

3500
12000
11000

f 2
2000

16000
17000
1500

19000
20000
1000

12000
13000
1200

14000
15000

a
3
2
2
2
3
3
2
2
3
2
3
3
3
2
2
2

f 1

1000
13000
14000

1500
15000
16000

2000
9000
10000

2800
11000
12000

f 2
3000

17000
16000
2000

20000
19000
1600

13000
12000
1600

15000
14000

a
60
50
40
40
45
40
50
50
50
55
50
50
40
60
60
60

. 17 53

..

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

16000
16000
60000
60000
20000
18000
45000
45000
18000
20000
50000
50000
12000
22000
60000
60000

4000
11000
10000

4500
8000
7000

5000
10000
9000

5500
12000
11000

3000

13000
14000
4000

10000
11000
3500

11000
12000
2300

13000
14000

3
2
3
3
3
2
3
3
3
2
2
2
3
3
2
2

3000
10000
11000

4000
7000
8000

4000
9000
10000

4500
11000
12000

4000

14000
13000
5000

11000
10000
4500

12000
11000
3000

14000
13000

45
40
50
50
50
45
60
60
50
60
50
50
55
50
60
60

8.
1. .
2. .
3. -
?
?
4. ?
5. .
6. .
7.
.
8.
?
9. .
10. .
- 2006

. 18 53

..

11. ?
12. 1.
13. 2.
14. .
15. .
16. ?
17.
.
18. ?
19. ?
20. , P Z- .
21. .
22.
.
23. .

- 2006

. 19 53

..



1. .. : . / .. . .: , 1996. 256 .
2. .. : . / .. . :
, 1995. 182 .
3. : . / .. . : ,
1998. 22 .

4. .. : /
.. , .. , .. . . : , 1990.
256 .
5. .. : / ..
, .. , .. . .: , 1985. 312 .
6. / . ..
. .: , 1982. 224 .
7. . / . , . . .: , 1978. 848 .
8. .. / .. , ..
. .: , 1979. 416 .
9. . : / . . .: , 1983. 320 .
10. / . .. .
.: , 1988. 128 .
11. .. : , , / .. , .. . .: , 1999. 592 .
12. .. / .. . : - , 1992.
276 .
- 2006

. 20 53

..

13. .. / .. .
.: , 2002. 608 .
14. .. Mathcad 8/2000: / .. . .: , 2000. 592 .
15. .. MATLAB. : / .. , .. . .: , 2002.
608 .
16. : / .. ,
.. , .. , .. , .. . .: , 2003. 608 .

- 2006

. 21 53

1
.1.1.
Mathcad
:
f = 5 ;

f = 1 ;
a = 3 ;
f = 1,5 ;
a = 40 .

FILTR BATTERVORTA
j := 1

P2 := 2


FD := 5000

Fp := 1000

Fp
FD

Wz :=

Wp = 0.2

Wz = 0.3

Wp :=

Fz
FD

Fz := 1500

ADp := 3

ADz := 40


g := cot ( Wp)
g = 1.376

z := g tan( Wz)
z = 1.894

ADz
10

1
log 10

n1 :=
2 log (z)

n1 = 7.208

m := trunc( n1)

n :=

m + 1 if n1 > m
m if n1

ORIGIN:= 1
k := 1 .. n

1+

Sk := e

( 2k 1)
n
2

n=8

..

S=

0.195 + 0.981i
0.556 + 0.831i

0.831 + 0.556i
0.981 + 0.195i

0.981 0.195i
0.831 0.556i
0.556 0.831i

0.195 0.981i
( n 1)

n n
if trunc
2

2 2

r :=

n
if trunc
2

n
2

r=4

n
n
1 if trunc

2 2

F :=

n
0 if trunc

2
F=0

Q=1

Q := 1

C := 0

n
2

C =0

k := 1 .. r
B1k := 2 Re ( Sk)

B0k :=

Sk

)2

A0k := 1

K0 :=

B0k
k

=1

K0 = 1

B1 =

0.39
1.111
1.663
1.962

B0 =

1
1
1
1

A0 =

1
1
1
1

-
:= 0 , 0.0001 .. 3
( ) :=

1
j + 1

n n
2 2

if trunc

n
2

1 if trunc

- 2006

n
2

. 23 53

..

FF ( ) := K0 ( )
GG( ) :=

=1

(B0k 2)2 + (B1k )2

A1 ( ) := GG( ) FF ( )

A1D ( ) := 20 log (A1 ( ))


1.1

A1 ( )

0.5

A1 ( 0) = 1
A1 ( 1) = 0.707

A1 (z) = 6.028 10


10
0

A1D ( )

20

A1D ( 0) = 0
40

50

A1D ( 1) = 3.01
0

A1D (z) = 44.397


:= F g + Q
aa0 :=

K0

n
n
if trunc

2 2

n
K0 if trunc

- 2006

n
2

aa1 :=

K0

n
n
if trunc

2 2

n
0 if trunc

n
2
. 24 53

..

n
( Q F g)
n
if trunc

2 2

bb1 :=

n
0 if trunc

2
aa0 = 1

n
2

aa1 = 0

bb1 = 0

k := 1 .. r
2

k := g + B1k g + B0 k

a0k

3.431
4.424
5.183
5.594

2
(
C g + A0k )
:=

b2k

0.291

b1 =

0.521

0.226
0.193
0.179

0.404
0.345
0.32

a2k

2 B0k g2
b1k :=

a0 =

2 A0k C g2
a1k :=

a1 =

2
(
g B1k g + B0k)
:=

0.583
0.452
0.386
0.358

b2 =

2
(
C g + A0k)
:=

a2 =

0.291
0.226
0.193
0.179

0.687
0.309
0.117
0.035


W := 0 , 0.0001 .. 0.5

( aa0 + aa1 cos ( P2 W) ) 2 + ( aa1 sin( P2 W) ) 2


ACH1 ( W) :=
( 1 + bb1 cos ( P2 W) ) 2 + ( bb1 sin ( P2 W) ) 2
AC1 ( W) := a1 cos ( P2 W)

AC2 ( W) := a2 cos ( P2 W 2)

AS1 ( W) := a1 sin ( P2 W)

AS2 ( W) := a2 sin ( P2 W 2)

BC1 ( W) := b1 cos ( P2 W)

BC2 ( W) := b2 cos ( P2 W 2)

- 2006

. 25 53

..

BS1 ( W) := b1 sin ( P2 W)
r

ACH2( W) :=

k=

BS2 ( W) := b2 sin ( P2 W 2)

( a0k + AC1 ( W) k + AC2 ( W) k) 2 + ( AS1 ( W) k + AS2 ( W) k) 2


( 1 + BC1 ( W) k + BC2 ( W) k) 2 + ( BS1( W) k + BS2( W) k) 2

ACH ( W) := ACH1 ( W) ACH2 ( W)

ACD ( W) := 20 log ( ACH ( W) )


1.1

ACH ( W )

0.5

ACH ( 0) = 1
0

ACH ( Wp) = 0.707


0

0.1

0.2

0.3

0.4

0.5

ACH ( Wz) = 6.028 10


10
0

ACD ( W )

20

ACD ( 0) = 1.929 10

40
50

0.1

- 2006

0.2

0.3
W

15

ACD ( Wp) = 3.01

0.4
0.5

ACD ( Wz) = 44.397

. 26 53

..

.1.2.
1 Mathcad

:
f = 5 ;
f = 1 ;
a = 1,5 ;
f = 667 ;
a = 40 .

FILTR CHEBISHEVA 1
j := 1

P2 := 2


FD := 5000
Wp :=

Fp
FD

Fp := 1000
Wz :=

Wp = 0.2

Fz
FD

Fz := 667
ADp := 1.5

ADz := 40

Wz = 0.133

g := tan( Wp)
g = 0.727

z :=

g
tan( Wz)

z = 1.631

ADz
10
1
10
q :=
ADp
10
1
10

ADp

:= 10

q = 155.685
n1 :=

= 0.642
2

log q + q 1

10

log z + z 1

n1 = 5.359

m := trunc( n1)
n :=

m + 1 if n1 > m
m if n1

- 2006

n=6

. 27 53

..

:=

(1 +

1+

= 1.227

1
(
)
Sh :=

1
(
+ )
Ch :=

Sh = 0.206

Ch = 1.021

ORIGIN:= 1
k := sin

k := 1 .. n
( 2 k 1)
Sh
2n

k := cos

( 2 k 1)
Ch
2n

Sk := k + j k

S=

F :=

0.053 + 0.986i
0.145 + 0.722i
0.199 + 0.264i

0.199 0.264i
0.145 0.722i
0.053 0.986i

n
n
1 if trunc

2 2
n
0 if trunc

F=0
r :=

Q :=

n
2

Q=1

S ( n+ 1)

n
n
if trunc

2 2

n
1 if trunc

n
2

C := 0

C =0

n
n
( n 1)
if trunc
2

2 2
n
n
if trunc
2

n
2

r=3

k := 1 .. r
B1k := 2 Re ( Sk)

B0k :=

Sk

)2

:=

B0k
k

- 2006

=1

. 28 53

..

n
n
S ( n+ 1) if trunc

2 2

K0 :=

ADp

20

10
K0 = 0.049

n
if trunc

2
0.107

B1 = 0.291

0.397

A0k := 1

n
2

0.975

B0 = 0.542

0.109

A0 = 1

-
:= 0 , 0.0001 .. 3
( ) :=

n
1
n
if trunc

2 2
j + S ( n+ 1)

n
1 if trunc

n
2

FF ( ) := K0 ( )
GG( ) :=

=1

(B0k 2)2 + (B1k )2

A1 ( ) := GG( ) FF ( )

A1D ( ) := 20 log (A1 ( ))


1.2
1

A1 ( )

A1 ( 0) = 0.841

0.5

A1 ( 1) = 0.841
0

0
0

- 2006

3
3

A1 (z) = 5.031 10

. 29 53

..


10
0

A1D ( )

20

A1D ( 0) = 1.5
40

50

A1D ( 1) = 1.5
0

A1D (z) = 45.968


:= F g + Q
K0

aa0 :=

n
n
if trunc

2 2

n
K0 if trunc

K0
n
n
if trunc

2 2

aa1 :=

n
2

n
0 if trunc

n
2

( F g Q)
n
n
if trunc

2 2

bb1 :=

n
0 if trunc

2
aa0 = 0.049

n
2

aa1 = 0

bb1 = 0

k := 1 .. r
2

k := g + B1k g + B0 k
a0k

2
(
C g + A0k )
:=

2 g2 B0k
b1k :=
k

0.633
0.78
a0 =

1.08
- 2006

2 C g2 A0k
a1k :=
k

b2k

a2k

2
(
C g + A0 k)
:=

2
(
g B1k g + B0k)
:=

1.265

a1 = 1.561

2.16

0.633
0.78
a2 =

1.08
. 30 53

..

0.566

b1 = 0.023

0.904

0.902
0.67
b2 =

0.376


W := 0 , 0.0001 .. 0.5

( aa0 + aa1 cos ( P2 W) ) 2 + ( aa1 sin( P2 W) ) 2


ACH1 ( W) :=
( 1 + bb1 cos ( P2 W) ) 2 + ( bb1 sin ( P2 W) ) 2
AC1 ( W) := a1 cos ( P2 W)

AC2 ( W) := a2 cos ( P2 W 2)

AS1 ( W) := a1 sin ( P2 W)

AS2 ( W) := a2 sin ( P2 W 2)

BC1 ( W) := b1 cos ( P2 W)

BC2 ( W) := b2 cos ( P2 W 2)

BS1 ( W) := b1 sin ( P2 W)

BS2 ( W) := b2 sin ( P2 W 2)

ACH2 ( W) :=

=1

( a0k + AC1 ( W) k + AC2 ( W) k) 2 + ( AS1 ( W) k + AS2 ( W) k) 2


( 1 + BC1 ( W) k + BC2 ( W) k) 2 + ( BS1 ( W) k + BS2 ( W) k) 2

ACH ( W) := ACH1 ( W) ACH2 ( W)

ACD ( W) := 20 log ( ACH ( W) )


1.1

ACH ( W )

0.5

0.1

0.2

0.3
W

0.4
0.5

ACH ( 0) = 0
ACH ( Wp) = 0.841
ACH ( Wz) = 5.031 10
- 2006

. 31 53

..


10
0

ACD ( W )

20

40
50

0.1

0.2

0.3
W

0.4
0.5

ACD ( 0.01) = 189.909


ACD ( Wp) = 1.5
ACD ( Wz) = 45.968

- 2006

. 32 53

..

.1.3.
2 Mathcad

:
f = 70 ;

f 1 = 20 , f 12 = 22 ;
a = 1,5 ;
f 1 = 19,3 , f 2 = 22,7 ;
a = 40 .

FILTR CHEBISHEVA 2
j := 1

P2 := 2


FD := 70000

Fp1 := 20000

Fz1 := 19300
Wp1 :=

Fp2 := 22000

Fz2 := 22700

Fp1
FD

Wp2 :=

Fp2
FD

Wp1 = 0.286

Wp2 = 0.314

ADp := 1.5

ADz := 40

Wz1 :=

Fz1
FD

Wz1 = 0.276

Wz2 :=

Fz2
FD

Wz2 = 0.324


g := cot ( Wp2 Wp1)

g = 11.111

z1 := g

cos ( Wp2 + Wp1)


cos ( Wp2 Wp1)

A = 0.31

A cos ( P2 Wz1)
sin ( P2 Wz1)

z1 = 1.682
z :=

A :=

z2 := g

A cos ( P2 Wz2)
sin ( P2 Wz2)

z2 = 1.738

z1

if

z2 > z1

z2

if

z2 z1

z = 1.682

- 2006

. 33 53

..

ADz

10
1
10
q :=
ADp
10
1
10

q = 155.685

ADp

:= 10

10

ADz

Az := 10

zz :=

1+

= 0.642

zz = 0.841

log q + q 1

n1 :=

log z + z 1

Az = 100

n1 = 5.172

m := trunc( n1)

m + 1 if n1 > m

n :=

m if n1

:=

20

n=6

Az + Az 1

= 2.418

1
(
)
Sh :=

1
(
+ )
Ch :=

Sh = 1.002

Ch = 1.416

ORIGIN:= 1

k := 1 .. n

k := cos

( 2 k 1)
Ch
2n

1.368
1.001
0.366

0.366
1.001
1.368

- 2006

k := sin

( 2 k 1)
Sh
2n

0.259
0.709
0.968

0.968
0.709
0.259
. 34 53

..

k := z

k := z

( k)2 + ( k)2

0.225

0.792
1.519

1.519
0.792
0.225

Sk := k + j k

S=

F :=

1.119
0.575

0.575
1.119
1.187

1.519 0.575i
0.792 1.119i
0.225 1.187i
n
n
1 if trunc

2 2
n
0 if trunc

z
( 2 k 1)
cos

2n

s0 =

0.792 + 1.119i
1.519 + 0.575i

( k)2 + ( k)2

1.187

s0k := j

0.225 + 1.187i

Q :=

1.741i
2.379i
6.498i

6.498i
2.379i
1.741i
n
n
if trunc

2 2

S ( n+ 1)
2

n
2

n
1 if trunc

n
2

C := 1
F=0
r :=

Q=1

C =1

( n 1)

n n
if trunc
2

2 2
n

n
if trunc
2

n
2

r=3

k := 1 .. r
A0k :=

s0k

)2

- 2006

B1k := 2 Re ( Sk)

B0k :=

Sk

)2

. 35 53

..

:=

B0k

= 0.01

A0k

=1

n
n
S ( n+ 1) if trunc

2 2

K0 :=

n
if trunc

n
2

3.032
5.657
A0 =

42.228

K0 = 0.01

0.45

B1 = 1.584

3.039

1.46
1.88
B0 =

2.639

-
:= 0 , 0.0001 .. 3
( ) :=

n
1
n
if trunc

2 2
j + S ( n+ 1)

n
1 if trunc

n
2

FF ( ) := K0 ( )

GG( ) :=

=1

A0k

(B0k 2)2 + (B1k )2

A1 ( ) := GG( ) FF ( )

- 2006

A1D ( ) := 20 log (A1 ( ))

. 36 53

..


1.2
1

A1 ( )

0.5

A1 ( 0) = 1
A1 ( 1) = 0.969
A1 (z) = 10 10


10
0

A1D ( )

20

A1D ( 0) = 0

40

60 60

A1D ( 1) = 0.276
0

A1D (z) = 40


:= F g + Q

aa0 :=

K0

= 1

n
n
if trunc

2 2

n
K0 if trunc

2
- 2006

n
2

aa2 :=

n
n
K0
if trunc

2 2

n
0 if trunc

n
2
. 37 53

..

aa1 := 0

(2 F g A)

bb1 :=

n
n
if trunc

2 2

n
0 if trunc

( F g Q)

bb2 :=

n
2

n n
2 2

if trunc

n
2

n
2

0 if trunc

aa0 = 0.01

aa1 = 0

bb1 = 0

aa2 = 0

bb2 = 0

k := 1 .. r
k := A0k

Bk := g + B1k g + B0k
2

a0k :=

a1k :=

Bk

2 C g 1 + 2 A
2

a2k :=

C g + A0k

4 C g A
Bk

) A0k

a3k :=

Bk

4 C g A
Bk

a4k :=
b1k :=

b3k :=

C g + A0k
Bk
2 g A ( B1k + 2 g)
Bk

b2k :=

2 g A ( B1k 2 g)
Bk

b4k

0.974

a0 = 0.903

1.036

1.179

a1 = 1.072

0.958

1.179

a3 = 1.072

0.958

0.974

a4 = 0.903

1.036

- 2006

2 g 1 + 2 A

) B0k

Bk

2
(
g B1k g + B0k)
:=

Bk

2.22

a2 = 1.981

1.314

. 38 53

..

1.203

b1 = 1.148

1.09

2.244

b2 = 2.034

1.809

1.155

b3 = 0.995

0.827

0.923

b4 = 0.754

0.578


W := 0 , 0.0001 .. 0.5
AAC1 ( W) := aa1 cos ( P2 W)

AAC2 ( W) := aa2 cos ( P2 W 2)

AAS1 ( W) := aa1 sin ( P2 W)

AAS2 ( W) := aa2 sin ( P2 W 2)

BBC1 ( W) := bb1 cos ( P2 W)

BBC2 ( W) := bb2 cos ( P2 W 2)

BBS1 ( W) := bb1 sin ( P2 W)

BBS2 ( W) := bb2 sin ( P2 W 2)

( aa0 + AAC1 ( W) + AAC2 ( W) ) 2 + ( AAS1 ( W) + AAS2 ( W) ) 2


AG ( W) :=
( 1 + BBC1 ( W) + BBC2 ( W) ) 2 + ( BBS1 ( W) + BBS2 ( W) ) 2
AC1 ( W) := a1 cos ( P2 W)

AC2 ( W) := a2 cos ( P2 W 2)

AC3 ( W) := a3 cos ( P2 W 3)

AC4 ( W) := a4 cos ( P2 W 4)

AS1 ( W) := a1 sin ( P2 W)

AS2 ( W) := a2 sin ( P2 W 2)

AS3 ( W) := a3 sin ( P2 W 3)

AS4 ( W) := a4 sin ( P2 W 4)

BC1 ( W) := b1 cos ( P2 W)

BC2 ( W) := b2 cos ( P2 W 2)

BC3 ( W) := b3 cos ( P2 W 3)

BC4 ( W) := b4 cos ( P2 W 4)

BS1 ( W) := b1 sin ( P2 W)

BS2 ( W) := b2 sin ( P2 W 2)

BS3 ( W) := b3 sin ( P2 W 3)

BS4 ( W) := b4 sin ( P2 W 4)

Ac ( W) := a0 + AC1 ( W) + AC2 ( W) + AC3 ( W) + AC4 ( W)


As ( W) := AS1 ( W) + AS2 ( W) + AS3 ( W) + AS4 ( W)
Bc ( W) := 1 + BC1 ( W) + BC2 ( W) + BC3 ( W) + BC4 ( W)
Bs ( W) := BS1 ( W) + BS2 ( W) + BS3 ( W) + BS4 ( W)
r

AG1 ( W) :=

=1

Ac ( W) k Ac ( W) k + As ( W) k As ( W) k
Bc ( W) k Bc ( W) k + Bs ( W) k Bs ( W) k

AAG ( W) := AG ( W) AG1 ( W)

- 2006

AAGD ( W) := 20 log ( AAG ( W) )

. 39 53

..


1.1

AAG ( W )

AAG ( Wp1) = 0.969


0.5

AAG ( Wp2) = 0.969

AAG ( Wz1) = 10 10
0

0.26

0.28

0.25

0.3

0.32

0.34
0.35

AAG ( Wz2) = 3.695 10


10
0

AAGD ( W )

AAGD ( Wp1) = 0.276

20

AAGD ( Wp2) = 0.276


40
50

AAGD ( Wz1) = 40
0.26
0.25

- 2006

0.28

0.3
W

0.32

0.34
0.35

AAGD ( Wz2) = 68.648

. 40 53

..

.1.4.
Mathcad

:
f = 70 ;
f 1 = 20 , f 12 = 22 ;
a = 1,5 ;
f 1 = 20,3 , f 2 = 21,7 ;
a = 40 .
FILTR ELLIPTICHESKIY
j := 1

P2 := 2


FD := 70000

Fp1 := 20000

Fz1 := 20300

Fz2 := 21700

Wp1 :=

Fp1
FD

Wp2 :=

Wp1 = 0.286

Fp2 := 22000

Fp2
FD

Wz1 :=

Wp2 = 0.314

ADp := 1.5

Fz1
FD

Wz2 :=

Wz1 = 0.29

Fz2
FD

Wz2 = 0.31

ADz := 40


g := tan ( Wp2 Wp1)

g = 0.09
z1 := g

cos ( Wp2 + Wp1)


cos ( Wp2 Wp1)

A = 0.31
sin ( P2 Wz1)
A cos ( P2 Wz1)

z1 = 1.416

z :=

A :=

z2 := g

sin ( P2 Wz2)
A cos ( P2 Wz2)

z2 = 1.446

z1

if

z2 > z1

z2

if

z2 z1

z = 1.416
-
K :=

1
z

K1 := 1 K

- 2006

K = 0.706

K1 = 0.708

. 41 53

..

q0 :=

(1 K1)
2 (1 + K1)

q0 = 0.043

q := q0 + 2 q0 + 15 q0 + 150 q0

13

q = 0.043

ADz

10
10
1

log 16

ADp
10

10
1

n1 :=
1
log
q
m := trunc( n1)
n :=

m=4

m + 1 if n1 > m
m if n1

n1 = 4.092

n=5

ADp

20

+ 1
1 10

ln
:=
2 n ADp
20

1
10

= 0.245

10

4
m m( m+ 1)
( 1) q
sinh( 2 m + 1)
2q

m
=
0

0 :=
10

2
m m
1 + 2

( 1) q cosh(2 m )

m =1

:=

:=

F :=

0
K

0 = 0.248

= 0.295

(1 + 02 K) 1 + 0

n
n
1 if trunc

2 2
n
0 if trunc

- 2006

= 1.065

n
2

Q :=

n
n
if trunc

2 2
n
1 if trunc

n
2

. 42 53

..

C := 1
F=1

Q = 0.295

C =1

( n 1)
n
n
if trunc
2

2 2

r :=

n
n
if trunc
2

2
ORIGIN:= 1

n
2

r=2

k := 1 .. r

n
n
k if trunc

2 2

k :=

n
1
if trunc
2

n
2

10
k

4
m m( m+ 1)
( 1) q
sin ( 2 m + 1)
2q
n

m =0

k :=
10

2
k

m m
1 + 2
( 1) q cos 2 m

m =1

k)
(
2

Vk := 1 ( k) K 1
K

1
2

0.549
0.811

A0k :=

=
1

( k)2 K

B1k := (2 0)

0.672
0.192

V=

Vk

1 + 02 ( k)2 K

(0 Vk)2 + ( k)2

B0k :=
2
1 + 02 ( k)2 K

4.704
2.152

A0 =

:=

=1

B0k
A0k

- 2006

0.39
0.109

B1 =

0.504
0.979

B0 =

= 0.049

. 43 53

..

n
n
if trunc

2 2

K0 :=

ADp

n
if trunc

20

10

K0 = 0.014

n
2

-
:= 0 , 0.0001 .. 3
( ) :=

(j + )

n n
2 2

if trunc

n
2

n
2

1 if trunc

FF ( ) := K0 ( )
GG( ) :=

=1

A0k

(B0k 2)2 + (B1k )2

A1 ( ) := GG( ) FF ( )

A1D ( ) := 20 log (A1 ( ))


1.2
1

A1 ( )

0.5

A1 ( 0) = 1
A1 ( 1) = 0.841

0
0

- 2006

3
3

A1 (z) = 2.399 10

. 44 53

..


10
0

A1D ( )

20

A1D ( 0) = 0

40

60 60

A1D ( 1) = 1.5
0

A2D := 10 log 1 +

A1D (z) = 52.398

ADp
10
1
10
(16 qn)

A2D = 52.398

:= F g + Q
aa0 :=

K0

= 0.385

n
n
if trunc

2 2

n
K0 if trunc

2
aa2 :=

K0

2 Q A

bb1 = 0.476

n
n
if trunc

2 2

n
0 if trunc

n
2

n n
2 2

n
2

n
2

n n
2 2

if trunc

n
2

0 if trunc

aa0 = 0.037

2 K0 A

if trunc

0 if trunc
bb1 :=

n
2

aa1 :=

bb2 :=

n
2

aa1 = 0.023

Q Fg

n n
2 2

if trunc

n
2

0 if trunc

n
2

aa2 = 0.037

bb2 = 0.533

k := 1 .. r
- 2006

. 45 53

..

Bk := g + B1k g + B0 k
2

C g + A0k
a0k :=
Bk
a3k :=

b1k :=

b3k :=

4 A0k A

a1k :=

4 A0k A

Bk

Bk

2 A ( B1k g + 2 B0k )
Bk

b2k :=

2 A ( B1k g 2 B0k )

8.612
2.167

Bk

20.475
5.134

a1 =

10.67
2.68

) g2

10.67
2.68

a0 =

2 B0k 1 + 2 A

g B1k g + B0k
b4k :=
Bk

Bk

a2 =

8.612
2.167

a3 =

1.183
1.225

) C g2

C g + A0 k
a4k :=
Bk

Bk

b1 =

a2k :=

2 A0k 1 + 2 A

a4 =

2.167
2.326

b2 =

1.103
1.213

b3 =

0.872
0.98

b4 =


W := 0 , 0.0001 .. 0.5
AAC1 ( W) := aa1 cos ( P2 W)

AAC2 ( W) := aa2 cos ( P2 W 2)

AAS1 ( W) := aa1 sin ( P2 W)

AAS2 ( W) := aa2 sin ( P2 W 2)

BBC1 ( W) := bb1 cos ( P2 W)

BBC2 ( W) := bb2 cos ( P2 W 2)

BBS1 ( W) := bb1 sin ( P2 W)

BBS2 ( W) := bb2 sin ( P2 W 2)

AG ( W) :=

( aa0 + AAC1 ( W) + AAC2 ( W) ) 2 + ( AAS1 ( W) + AAS2 ( W) ) 2


( 1 + BBC1 ( W) + BBC2 ( W) ) 2 + ( BBS1 ( W) + BBS2 ( W) ) 2

AC1 ( W) := a1 cos ( P2 W)

AC2 ( W) := a2 cos ( P2 W 2)

AC3 ( W) := a3 cos ( P2 W 3)

AC4 ( W) := a4 cos ( P2 W 4)

- 2006

. 46 53

..

AS1 ( W) := a1 sin ( P2 W)

AS2 ( W) := a2 sin ( P2 W 2)

AS3 ( W) := a3 sin ( P2 W 3)

AS4 ( W) := a4 sin ( P2 W 4)

BC1 ( W) := b1 cos ( P2 W)

BC2 ( W) := b2 cos ( P2 W 2)

BC3 ( W) := b3 cos ( P2 W 3)

BC4 ( W) := b4 cos ( P2 W 4)

BS1 ( W) := b1 sin ( P2 W)

BS2 ( W) := b2 sin ( P2 W 2)

BS3 ( W) := b3 sin ( P2 W 3)

BS4 ( W) := b4 sin ( P2 W 4)

Ac ( W) := a0 + AC1 ( W) + AC2 ( W) + AC3 ( W) + AC4 ( W)


As ( W) := AS1 ( W) + AS2 ( W) + AS3 ( W) + AS4 ( W)
Bc ( W) := 1 + BC1 ( W) + BC2 ( W) + BC3 ( W) + BC4 ( W)
Bs ( W) := BS1 ( W) + BS2 ( W) + BS3 ( W) + BS4 ( W)
r

AG1 ( W) :=

Ac ( W) k Ac ( W) k + As ( W) k As ( W) k

Bc ( W) k Bc ( W) k + Bs ( W) k Bs ( W) k

=1

AAG ( W) := AG ( W) AG1 ( W)

AAGD ( W) := 20 log ( AAG ( W) )


1.1

AAG ( W )

0.5

0.26

0.28

0.25

0.3
W

0.32

0.34
0.35

AAG ( Wp1) = 0.841


AAG ( Wp2) = 0.841
AAG ( Wz1) = 2.399 10

AAG ( Wz2) = 8.125 10

- 2006

. 47 53

..


10
0

20
AAGD ( W )
40

60 60

0.26
0.25

0.28

0.3
W

0.32

0.34
0.35

AAGD ( Wp1) = 1.5


AAGD ( Wp2) = 1.5
AAGD ( Wz1) = 52.398
AAGD ( Wz2) = 61.803

- 2006

. 48 53

..

2
.2.1.
MATLAB

:
f = 5 ;

f = 1 ;
a = 3 ;
f = 1,5 ;
a = 40 .

>> Fd=5000;
>> fp=1000;
>> fs=1500;
>> Rp=3;
>> Rs=40;
>> [n,Wn]=buttord(2*fp/Fd,2*fs/Fd,Rp,Rs)
>> [a,b]=butter(n,Wn);
>> [sos,g]=tf2sos(a,b,up,none)
>> [h,w]=freqz(a,b);
>> plot(w/(2*pi),20*log10(abs(h)))
>> grid on

- 2006

. 49 53

..

.2.2. 1
MATLAB

:
f = 5 ;
f = 1 ;
a = 1,5 ;
f = 667 ;
a = 40 .
>> Fd=5000;
>> fp=1000;
>> fs=667;
>> Rp=1.5;
>> Rs=40;
>> [n,Wn]=cheb1ord(2*fp/Fd,2*fs/Fd,Rp,Rs)
>> [a,b]=cheby1(n,Rp,Wn,high);
>> [sos,g]=tf2sos(a,b,up,none)
>> [h,w]=freqz(a,b);
>> plot(w/(2*pi),20*log10(abs(h)))
>> grid on

- 2006

. 50 53

..

.2.3.
2 MATLAB
:
f = 70 ;

f 1 = 20 , f 12 = 22 ;
a = 1,5 ;
f 1 = 19,3 , f 2 = 22,7 ;
a = 40 .

>> Fd=70000;
>> fp1=20000;
>> fp2=22000;
>> fs1=19300;
>> fs2=22700;
>> Rp=1.5;
>> Rs=40;
>> Wp=[2*fp1/Fd 2*fp2/Fd];
>> Ws=[2*fs1/Fd 2*fs2/Fd];
>> [n,Wn]=cheb2ord(Wp,Ws,Rp,Rs)
>> [a,b]=cheby2(n,Rs,Wn);
>> [sos,g]=tf2sos(a,b,up,none)
>> [h,w]=freqz(a,b);
>> plot(w/(2*pi),20*log10(abs(h)))
>> grid on

- 2006

. 51 53

..

.2.4.
MATLAB

:
f = 70 ;

f 1 = 20 , f 12 = 22 ;
a = 1,5 ;
f 1 = 20,3 , f 2 = 21,7 ;
a = 40 .

>> Fd=70000;
>> fp1=20000;
>> fp2=22000;
>> fs1=20250;
>> fs2=21750;
>> Rp=1.5;
>> Rs=40;
>> Wp=[2*fp1/Fd 2*fp2/Fd];
>> Ws=[2*fs1/Fd 2*fs2/Fd];
>> [n,Wn]=ellipord(Wp,Ws,Rp,Rs)
>> [a,b]=ellip(n,Rp,Rs,Wn,stop);
>> [sos,g]=tf2sos(a,b,up,none)
>> [h,w]=freqz(a,b);
>> plot(w/(2*pi),20*log10(abs(h)))
>> grid on

- 2006

. 52 53

..
..


01.04.06.
PDF
6090 1/8

620002, , . , 19
e-mail: sh@uchdep.ustu.ru


http://www.ustu.ru

Оценить