# IIR Filter Coefficant Value

1 vue (au cours des 30 derniers jours)
Hamza Aykut le 10 Jan 2022
After I finisihing IIR Filter Design MATLAB shows me this coefficents window. How can I calculate coefficents value which using these informations.
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Réponses (2)

Star Strider le 10 Jan 2022
I do not have access to R2010b and I have no idea what application that is.
I would design the filter a bit differently, using command-line functions and a more efficient filter design and implementation —
Fs = 4.8E+5;
Fn = Fs/2;
Wp = [100 1.9E+5]/Fn;
Ws = Wp.*[0.95 1.05];
Rs = 50;
Rp = 1;
[n,Wn] = ellipord(Wp,Ws,Rp,Rs);
[z,p,k] = ellip(n,Rp,Rs,Wp);
[sos,g] = zp2sos(z,p,k);
FilterOrder = n
FilterOrder = 8
figure
freqz(sos, 2^16, Fs)
set(subplot(2,1,1), 'XScale','log')
set(subplot(2,1,2), 'Xscale','log')
Then use the ‘sos’ and ‘g’ outputs with the filtfilt function to do the actual signal filtering.
.
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

Bharath Venkataraman le 10 Jan 2022
Click on File -> Export. There is an option to export the coefficients to the workspace (SOS, G will be exported as variables accessible in MATLAB).
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Digital Filter Design dans Help Center et File Exchange

R2010b

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by