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.