Am I doing something wrong, or does fdesign.octave not actually work?
Mostrar comentarios más antiguos
I'm trying to make a third-octave filter bank with specific features. As an introduction to the Matlab functions, I tried the example offered by the Matlab help for fdesign.octave. The self-generated code doesn't generate an ANSI-compliant filter at 1000 Hz (the filter response goes outside the skirts and they are shown in red). I've tried two other sampling rates and changed the filter order to 8, but still no success. What is up with this feature? Not fully functional?
%%Design an Octave Band Filter
% Design a sixth order, octave-band class 0 filter with a center frequency
% of 1000 Hz and, a sampling frequency of 44.1 kHz.
d = fdesign.octave(3,'Class 0','N,F0',6,1000,44100)
Hd = design(d)
fvtool(Hd)
The figure shows the magnitude response plot of the filter. The logarithmic scale for frequency is automatically set by FVTool for the octave filters.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Measurements and Spatial Audio 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!