필터 지우기
필터 지우기

How a bandpass filter (BP) can be made

조회 수: 4 (최근 30일)
Sonia
Sonia 2022년 12월 17일
답변: Star Strider 2022년 12월 17일
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.

답변 (1개)

Star Strider
Star Strider 2022년 12월 17일
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.

카테고리

Help CenterFile Exchange에서 Digital Filter Design에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by