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 件のコメント

muhammad ali
muhammad ali 2021 年 1 月 11 日
I can not utilize the givin data in the Fir1 filter . To get N or Rp or Rst
Star Strider
Star Strider 2021 年 1 月 11 日
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.

サインインしてコメントする。

カテゴリ

タグ

質問済み:

2021 年 1 月 11 日

コメント済み:

2021 年 1 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by