How a bandpass filter (BP) can be made
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How a bandpass filter (BP) can be made, with cutoff frequencies of 500 Hz and 1 kHz, to process an audio signal sampled at 8 ksps in its FIR version with 64 taps. Specifying the values for the cutoff frequency fp and the stop frequency fs, in terms of the Nyquist frequency, and of a BP filter in its IIR version of order 5.
An audio is attached, in wav format, corresponding to a signal sampled at 8ksps, from this audio file, do what is necessary to obtain the reference sequence, as a Matlab vector, and process it with the requested filter to be able to compare, in each case , the frequency spectrum of the output stream with respect to the frequency spectrum of the input stream.
0 comentarios
Respuestas (1)
Star Strider
el 17 de Dic. de 2022
Since you apparently are supposed to code it using command-line function calls in a script, and you are limited to an order 5 filter, I suggest that you start with ellipord or ellip and go from there. Use the zp2sos function to realise the filter, and use filtfilt to do the actual filtering.
The rest should be straightforward.
0 comentarios
Ver también
Categorías
Más información sobre Digital Filtering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!