FIR filter
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Make a matlab function for design a FIR filter of order 32 with the LMS method.
I am now learning to use matlab . first learner,, Can anyone give some suggestions ? Thank you very much!
0 Kommentare
Akzeptierte Antwort
Wayne King
am 13 Jun. 2012
b = firls(30,[0 .1 .2 .5]*2,[1 1 0 0]);
fvtool(b);
Obviously you have to specify more than the order. You have to give your frequencies and the amplitudes you wish at those frequencies. I have just used some values above.
Please read the reference page for firls.
Also, I'm assuming that you mean this filter and not the LMS adaptive FIR filter.
2 Kommentare
Wayne King
am 13 Jun. 2012
fir1 uses the window method. That is a different filter design method. The window method is described in any DSP book.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Filter Design finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!