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

Risposte (1)

Star Strider
Star Strider il 11 Gen 2021

0 voti

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 Commenti

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

Accedi per commentare.

Tag

Richiesto:

il 11 Gen 2021

Commentato:

il 11 Gen 2021

Community Treasure Hunt

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

Start Hunting!

Translated by