Professional Documents
Culture Documents
Poli Butterworth e Chebyschev
Poli Butterworth e Chebyschev
Poli Butterworth e Chebyschev
>>
>> N = [1:44]
N=
Columns 1 through 8
1 2 3 4 5 6 7 8
Columns 9 through 16
9 10 11 12 13 14 15 16
Columns 17 through 24
17 18 19 20 21 22 23 24
Columns 25 through 32
25 26 27 28 29 30 31 32
Columns 33 through 40
33 34 35 36 37 38 39 40
Columns 41 through 44
41 42 43 44
>> %I poli del filtro stanno tutti su un cerchio di raggio R
>> R = 1/(1.2)^(1/22)
R=
0.9917
k=
Columns 1 through 7
1 0 1 2 3 4 5
Columns 8 through 14
6 7 8 9 10 11 12
Columns 15 through 21
13 14 15 16 17 18 19
Columns 22 through 28
20 21 22 23 24 25 26
Columns 29 through 35
27 28 29 30 31 32 33
Columns 36 through 42
34 35 36 37 38 39 40
Columns 43 through 45
41 42 43
>> %Calcoliamo ph
>> ph = exp(i*((2*N+21)*pi)/44)
ph =
Columns 1 through 2
Columns 3 through 4
Columns 5 through 6
Columns 7 through 8
Columns 11 through 12
Columns 13 through 14
Columns 15 through 16
Columns 17 through 18
Columns 19 through 20
Columns 21 through 22
Columns 23 through 24
Columns 27 through 28
Columns 29 through 30
Columns 31 through 32
Columns 33 through 34
Columns 35 through 36
Columns 37 through 38
Columns 39 through 40
Columns 43 through 44
>> sk = R*ph
sk =
Columns 1 through 2
Columns 3 through 4
Columns 5 through 6
Columns 7 through 8
Columns 9 through 10
Columns 13 through 14
Columns 15 through 16
Columns 17 through 18
Columns 19 through 20
Columns 21 through 22
Columns 23 through 24
Columns 25 through 26
Columns 29 through 30
Columns 31 through 32
Columns 33 through 34
Columns 35 through 36
Columns 37 through 38
Columns 39 through 40
Columns 41 through 42
>> sp = sk(1:22)
sp =
Columns 1 through 2
Columns 3 through 4
Columns 5 through 6
Columns 7 through 8
Columns 9 through 10
Columns 11 through 12
Columns 15 through 16
Columns 17 through 18
Columns 19 through 20
Columns 21 through 22
>> P = poly(sp)
P=
1.0e+04 *
Columns 1 through 2
Columns 5 through 6
Columns 7 through 8
Columns 9 through 10
Columns 11 through 12
Columns 13 through 14
Columns 15 through 16
Columns 19 through 20
Columns 21 through 22
Column 23
0.0001 - 0.0000i
>> N_chebyshev = 9
N_chebyshev =
0.1279
>> b = (((1+sqrt(1+(0.5)^2))/0.508)^(1/9)+((sqrt(1+(0.5)^2))/0.508)^(-1/9))/2
b=
1.0440
k_chebyshev =
Columns 1 through 7
1 2 3 4 5 6 7
Columns 8 through 9
8 9
K_chebyshev =
Columns 1 through 7
2 4 6 8 10 12 14
Columns 8 through 9
16 18
>> pk = -a*sin(((2*K_chebyshev-1)*pi)/18)
pk =
Columns 1 through 4
Columns 5 through 8
Column 9
0.0222
>> wk = b*cos(((2*K_chebyshev-1)*pi)/18)
wk =
Columns 1 through 4
Columns 5 through 8
1.0281
poly_chebyshev =
Columns 1 through 2
Columns 3 through 4
Columns 5 through 6
Columns 7 through 8
Column 9
0.0222 + 1.0281i
Columns 1 through 2
Columns 3 through 4
Columns 5 through 6
Columns 7 through 8
Columns 9 through 10
>>