Signal Processing Toolbox - Designfilt doesn't have 'window' in 'DesignMethod'
Mostrar comentarios más antiguos
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 comentarios
Frantz Bouchereau
el 13 de En. de 2016
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
el 13 de En. de 2016
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
Respuestas (0)
Categorías
Más información sobre Filter Design en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!