Signal Processing Toolbox - Designfilt doesn't have 'window' in 'DesignMethod'
古いコメントを表示
I tried several code using Window but all failed because of the error
'window' is an invalid design method for
Here are some example code. Also, the filter design assistant doesn't have Window in DesignMethod. I am using Matlab 2015b with Signal Processing Toolbox and DSP System Toolbox installed



2 件のコメント
Frantz Bouchereau
2016 年 1 月 13 日
Alvin, the particular design you are choosing only supports a Kaiser window design. This is the reason why the window parameter input is invalid. See also how the filter design assistant offers a 'Kaiser Window' design option.
Hope this helps,
Frantz
Frantz Bouchereau
2016 年 1 月 13 日
The design method name you are using is incorrect, here is a correct call for this particular filter design:
designfilt('bandpassfir', 'StopbandFrequency1', .35, 'PassbandFrequency1', .45, 'PassbandFrequency2', .55, 'StopbandFrequency2', .65, 'StopbandAttenuation1', 60, 'PassbandRipple', 1, 'StopbandAttenuation2', 60, 'DesignMethod', 'kaiserwin');
Frantz
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Filter Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!