Frequency Response of Filter find frequency response of filter for specified coefficients. - Code

Latest

programs

Thursday, November 10, 2011

Frequency Response of Filter find frequency response of filter for specified coefficients.


Frequency Response of Filter


AIM:- To find frequency response of filter for specified coefficients.

THEORY: - Filter with coefficients are given. The frequency – magnitude plot gives the frequency response.

PROGRAM: -

b = [ 0.0995 0.1989 0.0995 ];
a = [ 1 -0.9316 0.3294 ];
[ h w ] = freqz ( b, a, 100 );
y = abs(h);
i = freqz( b, a, 100, 200 )
plot(i)
semilogx(w, y)


RESULT: -  Frequency response of specified filter is plotted.


No comments:

Post a Comment