What does this impinvar error message mean?
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Analog Filters에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!