Neeed help on low pass filter designing ?
Ältere Kommentare anzeigen
I want to design a low pass filter which i can specify the parameter in this way
[h]=LowpassFilter(Fs,fs,fp,M)
Fs- sampling frequency fs- stop band frequency fp- pass band frequency M- window length
This is how i have design it but it doesn't work for me.
function h=LowpassFilter(Fs,fs,fp,M)
h=fdesign.lowpass('N,Fp,Fst',M,fp,fs,Fs );
please help me
Antworten (1)
Wayne King
am 1 Apr. 2013
What problem are you having. What error message are you getting?
Fs = 1000;
fp = 100;
fst = 150;
M = 30;
h = fdesign.lowpass('N,Fp,Fst',M,fp,fst,Fs);
Kategorien
Mehr zu Digital Filter Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!