www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/CoefficientsOfAnFIRHalfbandInterpolatorExample.m

    %% Coefficients of an FIR Halfband Interpolator

FIRHalfbandInterp = dsp.FIRHalfbandInterpolator('Specification',...
    'Filter order and transition width','FilterOrder',26);
C = coeffs(FIRHalfbandInterp);
C.Numerator

% Impulse response of the filter
fvtool(FIRHalfbandInterp,'impulse')