Is there a bug in the IFIR function in the Filter Design Toolbox 2.5 (R13+)?

1 回表示 (過去 30 日間)
The IFIR does not converge for any ripple value greater than 0.004.
For example:
[h,g] = ifir(4,'low',[.05 .08], [0.01 0.005]);
returns the following error:
*** FAILURE TO CONVERGE ***
Probable cause is machine rounding error.
Number of iterations = 3 Warning:
If the number of iterations exceeds 3, the design may
be correct, but should be verified with freqz.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
This bug has been fixed for Release 14 (R14). For previous releases, read below for any possible workarounds:
This is a bug in the Filter Design Toolbox 2.5 (R13) when using ripple value greater than 0.004 with the IFIR function.
To work around this issue, use the 'advanced' option with the IFIR function. For example:
[h,g] = ifir(4,'low',[.05 .08], [0.01 0.01],'adv');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDigital Filter Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by