How a bandpass filter (BP) can be made
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Star Strider
il 17 Dic 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 Commenti
Vedere anche
Categorie
Scopri di più su Digital Filtering in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!