Low pass fir filter code

12 views (last 30 days)
rashmi kulkarni
rashmi kulkarni on 6 Mar 2013
i am trying to design and simulate low pass fir filter ..need code and to simulate and see output of filter compare the values with same filter in model sim..help required..for 27-tap filter with parallel linear phase response using any method of Fir filter?

Answers (1)

Wayne King
Wayne King on 6 Mar 2013
Do you have the Signal Processing Toolbox? Then designing an FIR filter will be easy, but you need to have more detailed specifications than just the number of taps (and that you want linear phase, which is not going to be a problem with FIR filters)
  2 Comments
rashmi kulkarni
rashmi kulkarni on 6 Mar 2013
yeah..i have signal processing tool box ..but getting error stating"frequencies must be between 0 and 1"while designing in FDA...i want the output Y(n) values to be displayed also along with the phase response and magnitude response,as i want to cross verify these values with samefilter designed in verilog using modelsim..may i know how to get y(n) values to be seen..rrather than figures
Wayne King
Wayne King on 6 Mar 2013
You may not be specifying a sampling frequency if you are getting that error. If you want to use frequency in Hz, you have to specify a sampling frequency.

Sign in to comment.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!