A simple LowPass Filter

2 vues (au cours des 30 derniers jours)
muhammad ali
muhammad ali le 11 Jan 2021
Commenté : Star Strider le 11 Jan 2021
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

Réponses (1)

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

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by