Hello!
I'm designing a simple but higher order lowpass filter to get rid of the Gibbs Phenomenon. This is what I thought of. Am I correct? Is this a valid filter?
d = designfilt('lowpassiir', 'FilterOrder',20,… % Response type
'PassbandFrequency',400, … % Frequency constraints
'MatchExactly','passband', … % Design method options
'SampleRate',2000)
I want to keep it simple having only cutoff frequency and the order as variables. (I assumed 'Match exactly' should be 'passband' because I need the filter to depend on cutoff frequency. Is this not necessary?)
How should I compensate for the delay in this? Since it is an IIR filter, it's only a phase shift, am I right?
Thank you!!
Best Answer