Borrar filtros
Borrar filtros

Find the order of a Butter-worth low pass filter in Matlab

2 visualizaciones (últimos 30 días)
I have a Butter-worth low pass filter that I need to construct with the following specifications down below. The order of the filter is N = 11. I don't know how to construct such a filteri n Matlab. Can someone please help?
Fs = 44.1 Khz,
fpass = 1000 , αp = 1 dB , fstop = 2000 , αs = 60 dB
We are given an audio file- ("twoSounds.wav") to call in a MATlab f(x)
Load the file into the Matlab and filter it out using your constructed filter. Write your observation.

Respuesta aceptada

Star Strider
Star Strider el 2 de Nov. de 2019
Start with the butter function and follow the links in and at the end of that documentation page.
Specifically note the discussion in Limitations, and use this implementattion of your filter (copied from the documentation, with slight editing):
% Zero-Pole-Gain design
[z,p,k] = butter(n,Wn,ftype);
[sos,g] = zp2sos(z,p,k);
Use the filtfilt function to do the actual filtering.

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by