29/10/14 Program No:-10 Experiment No.11 Write A Program For Parallel Form Realization of IIR Filter

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

29/10/14

Program no:- 10

Experiment no.11
AIM: Write a program for parallel form realization of IIR
filter.
EQIUPMENT: Computer installed with MATLAB
PROGRAM:
Num = input (' Enter num Coeffs. ');
Deno = input (' Enter num Coeffs. ');
[r1,p1,k1] = residuez(Num,Deno);
[r2,p2,k2] = residue(Num,Deno);
disp('Parallel Form I');
disp('Residues are');
disp(r1);
disp('poles are at');
disp(p1);
disp('constant value');
disp(k1);
disp('Parallel Form II');
disp('Residue are');
disp(r2);
disp('poles are at');
disp(p2);
disp('constant value');
disp(k2);

ROLL NO. 1302786

OUTPUT:
Enter num Coeffs. [1 0.44 0.32 0.02]
Enter num Coeffs. [1 0.41 0.18 0.2]
Parallel Form I
Residues are
0.4782
0.2109 - 0.2573i
0.2109 + 0.2573i
poles are at
-0.6292
0.1096 + 0.5531i
0.1096 - 0.5531i
constant value
0.1000
Parallel Form II
Residue are
-0.3009
0.1654 + 0.0884i
0.1654 - 0.0884i
poles are at
-0.6292
0.1096 + 0.5531i
0.1096 - 0.5531i
constant value
1

ROLL NO. 1302786

You might also like