www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/DetermineTheTransferFunctionOfNotchPeakFilterExample.m
%% Determine the Transfer Function of Notch Peak Filter % Create a |dsp.NotchPeakFilter| System object(TM). Obtain the % coefficients of the transfer function corresponding to the notch and peak % filters. notchpeak = dsp.NotchPeakFilter; [Bnotch,Anotch,Bpeak,Apeak] = tf(notchpeak); %% % |Bnotch| and |Anotch| are the vector of numerator and denominator % coefficients for the equivalent transfer function corresponding to the % notch filter. |Bpeak| and |Apeak| are the vector of numerator and denominator % coefficients for the equivalent transfer function corresponding to the % peak filter.