Vous êtes sur la page 1sur 4

Le devoir sous matlab

Exercice :4

1.
La fonction de transfert H(z) du filtre est :
1
1
1
1
y(n) x(n) 4 x(n 1) 8 x(n 2) 3x(n 3) 6 x(n 4) ( ) y(n 1) ( ) y(n 2) ( ) y(n 3) ( ) y(n 4)
3
4
3
3
1 1 1 2 1 3 1 4
z z z z z
3
4
3
3
H ( z)
1 4 z 4 z 1 8 z 2 3z 3 6 z 4

2.
Les zros et les ples moyennant :
Le programme :
clc;close all; clear
b=[1 1/3 1/4 1/3 1/3]
a=[1 -1 4 -8 -3 6]
z0=roots(b)
zpole=roots(a)
z=0:2*pi

les poles :
-0.2851 + 2.3379i
-0.2851 - 2.3379i
-0.8223
1.5362
0.8562
Les zros :

0.4018 + 0.7016i
0.4018 - 0.7016i
-0.5685 + 0.4322i
-0.5685 - 0.4322i

3.
Le diagramme poles-zros moyennant la fonction :
clc;close all; clear
b=[1 1/3 1/4 1/3 1/3]
a=[1 -1 4 -8 -3 6]
z0=roots(b)
zpole=roots(a)
z=0:2*pi
v=[0:0.001:2*pi];
y=exp(j*v);

figure
plot(y);
hold on ;
xlim([-3 3]);
ylim([-3 3]);
plot(z0,'o');
plot(zpole,'x');

figure;
zplane (b,a);

puisque les zros sont a lintrieur du cercle , alors le filtre est stable

4.

La rponse impulsionnelle h(n) du filtre moyennant :


clc;close all; clear
b=[1 1/3 1/4 1/3 1/3]
a=[1 -1 4 -8 -3 6]
z0=roots(b)
zpole=roots(a)
z=0:2*pi
v=[0:0.001:2*pi];
y=exp(j*v);
figure
plot(y);
hold on ;
xlim([-3 3]);
ylim([-3 3]);
plot(z0,'o');
plot(zpole,'x');
figure;
zplane (b,a);
figure;
impz (b,a);

Vous aimerez peut-être aussi