A simple LowPass Filter

I need to design a low pass filter for a .wav audio signal
Fc= 2e3 Hz
Fs=4e3 Hz
using a hamming window and getting the frequancy resonce of the filter
I dont know where to start or how to get this data into matlab
any help pls

回答(1 个)

Star Strider
Star Strider 2021-1-11

0 个投票

Using a window inplies a FIR filter. Start with the fir1 function to design it, and freqz to analyse it. Filter your signal with the filtfilt function.
a .wav file is an audio file, so use audioread to import it.

2 个评论

I can not utilize the givin data in the Fir1 filter . To get N or Rp or Rst
I have no idea what problem you are having, or what your constraints are.
You described a FIR filter design that should be straightforward to implement.

请先登录,再进行评论。

类别

标签

Community Treasure Hunt

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

Start Hunting!

Translated by