MATLAB Answers


Determining stop band attenuation from FIR Filter properties?

Asked by Saumya
on 30 Sep 2013
Latest activity Commented on by Saumya
on 30 Sep 2013


I am trying to determine the Filter properties mostly stop band attenuation of a FIR Filter designed by the given coefficients stored in a row vector. To design the filter from the given coefficients, I am trying to use either 'dsp.FIRFilter' or 'dfilt.dffir'. I am not able to use the 'measure' command on the objects obtained.

Is there any other command (other than measure) using which I can extract the value of the stop band attenuation which I have to compare with a given value?

Thank you


on 30 Sep 2013

For example, if I try: b=fir1(10,0.4); h=dsp.FIRFilter('NumeratorSource','Property','Numerator',b);

h is the same object as created by the 'design' command but measure is responding to the h returned by dsp.FIRFilter while it does for 'design' returned object. In the help link, it is mentioned that 'measure' accepts filter objects from dsp.FIRFilter ???

Please help!

on 30 Sep 2013

Sorry for the typo: 'measure' is not responding to dsp.FIRFilter returned filter object


No products are associated with this question.

0 Answers

Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!