FIR_2

[h,w] = freqz(b,a,n) returns the n-point frequency response vector h and the corresponding angular frequency vector w for the digital filter with transfer function coefficients stored in b and a.

 

invfreqz is the inverse operation of freqz; it finds a discrete-time transfer function that corresponds to a given complex frequency response. From a laboratory analysis standpoint, invfreqz can be used to convert magnitude and phase data into transfer functions.

[b,a] = invfreqz(h,w,n,m) returns the real numerator and denominator coefficients in vectors b and a of the transfer function

 

 

whose complex frequency response is given in vector h at the frequency points specified in vector w. Scalars n and specify the desired orders of the numerator and denominator polynomials.

Frequency is specified in radians between 0 and π, and the length of h must be the same as the length of winvfreqz uses conj(h) at -w to ensure the proper frequency domain symmetry for a real filter.

 

posted @ 2019-10-24 19:51  nanxia2019  阅读(119)  评论(0)    收藏  举报