There are many ways for filter design, following different optimization|
criteria and optimization algorithms. Fir1 is probably one of them. The
"help" should give you more information on the algorithm used. Matlab
provides a number of other methods, as well.
If you are (like me) not interested in the details in algorithm, but just
want to find a satisfactory answer, I find sptool a good way to go. It lets
you choose from a few methods, and play with the parameters. The graphic
user interface shows you the results instantaneously. The result can be
exported to the workspace.
Feng -----Original Message-----
From: CH R [mailto:]
Sent: Friday, April 04, 2003 11:51 PM
Subject: [matlab] FIlter Design
I am implementing FIR Filtrs in Matalb. I have basic doubts in
this. Actually i know the cutoff frequencies and the Q factor for
my filter design.
I want to implement Lowpass, Bandpass and Higpass Filters(FIR).
Can you pl somebody help me out in giving the suggetions.
My approach is like this:
I am finding filter Coefficients using 'fir1(taps, w)' Matlab,
after that i am convolving my input samples with these filter
But in some implentations i found that we need to know stopband
frequency, stopband ripples,pass band frequncy and passband
ripples. but in the case of fir1 it is only asking no of taps and
I am expecting valuable suggetions from any one of you. Ramesh Yahoo! Groups Sponsor
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.
About this discussion group:
More DSP-Related Groups: http://www.dsprelated.com/groups.php3