I am wanting to design an FIR band stop filter, it is a bit of a project that I found for me to learn Matlab.
These are the given specs:
Sampling frequency: 5 kHz
Pass-band ripple/deviations: ≤ 2 dB
Stop-band attenuation: ≥ 40 dB
Lower pass-band edge frequency: 500 Hz
Lower stop-band edge frequency: 800 Hz
Upper stop-band edge frequency: 1200 Hz
Upper pass-band edge frequency: 1500 H
I have sketched a graph by hand, but am wanting to understand that this is done in Matlab? also, how do you calculate the coefficient ?
how can I design it using the window method, or the optimal method? any help is greatly appreciated. Thanks!
These are the given specs:
Sampling frequency: 5 kHz
Pass-band ripple/deviations: ≤ 2 dB
Stop-band attenuation: ≥ 40 dB
Lower pass-band edge frequency: 500 Hz
Lower stop-band edge frequency: 800 Hz
Upper stop-band edge frequency: 1200 Hz
Upper pass-band edge frequency: 1500 H
I have sketched a graph by hand, but am wanting to understand that this is done in Matlab? also, how do you calculate the coefficient ?
how can I design it using the window method, or the optimal method? any help is greatly appreciated. Thanks!