%% Release Differentiator Filter
% Create a differentiator filter with default properties. Run step on the object. Verify that the differentiator filter is locked.

DF = dsp.Differentiator;

y = step(DF,randn(10,2));
isLocked(DF)

%
% Release the differentiator filter, and verify that it is unlocked.

release(DF)

isLocked(DF)

% Copyright 2012 The MathWorks, Inc.