Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to design this FIR filter in MATLAB?

Status
Not open for further replies.

revooridinesh

Member level 1
Joined
May 31, 2010
Messages
41
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Canada
Activity points
1,553
Hi

I have specifications for a FIR filter as :

Filter should remove the noise of frequency 60 Hz. Windowing technique has to be used(any window method). Oscillation in the passband should not exceed 1 dB and attenuation in stop band should be atleast -20 dB. How to design this filter ? I have seen some tools in Matlab but it also needs pass band frequency, stop band frequency and sampling frequency information. How to design this filter and plot its frequency response ?

Thank You
 

Do you want a notch(bandreject) or lowpass or highpass filter? They will all be able to reject 60 Hz. Regardless, you've already said that your stopband frequency is 60 Hz, right?

It is up to the designer, or whoever gave you the specs, to determine the passband frequency; you can't just pull that out the air, it's a design constraint. The same is true of the sampling frequency. It looks like you are missing some specs.
 

Once you've got the rest of the design specs, run (type) "fdatool" from the MATLAB command line - this provides a nice graphical means of entering your design parameters and viewing/plotting the resultant filter, frequency response, coefficients etc.
 

Once you've got the rest of the design specs, run (type) "fdatool" from the MATLAB command line - this provides a nice graphical means of entering your design parameters and viewing/plotting the resultant filter, frequency response, coefficients etc.

can we use 'sptool' instead of 'fdatool' ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top