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

    %% Release an IIR Halfband Interpolator
% Create an IIR halfband interpolator with default properties. Run |step| on 
% the object. Verify that the IIR halfband interpolator is locked.

% Copyright 2015 The MathWorks, Inc.


%%
IIRHalfbandInterp = dsp.IIRHalfbandInterpolator;

y = step(IIRHalfbandInterp,randn(10,2));
Lockstatus = isLocked(IIRHalfbandInterp)

%%
% Release the IIR halfband interpolator and verify that it is unlocked.

release(IIRHalfbandInterp)

Lockstatus = isLocked(IIRHalfbandInterp)