What does this impinvar error message mean?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm trying to model an analog filter in MATLAB:
poles = [-0.6155+0.7703i; -0.6155-0.7703i; -0.5486+1.5154i; -0.5486-1.5154i; -0.2905+2.1486i; -0.2905-2.1486i; -0.6291];
zeros = [];
% Compute the gain of the poles
gain = prod(abs(poles));
gain = gain / 10^(passbandLossDb/20);
% Get the filter transfer function
[num,den] = zp2tf(zeros,poles,gain);
% Convert the lowpass filter to a bandpass filter
[num,den] = lp2bp(num,den,2*pi*centerFreqHz,2*pi*bandwidthHz);
% Convert the analog filter to a digital filter for simulation purposes
[bz,az] = impinvar(num,den,sampleFreqHz);
What does this error message mean?
"Warning: The output is not correct/robust. Coeffs of B(s)/A(s) are real, but B(z)/A(z) has complex coeffs. Probable cause is rooting of high-order repeated poles in A(s). > In impinvar at 120"
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Analog Filters dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!