What does this impinvar error message mean?
8 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Analog Filters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!