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!