System object: dsp.DyadicAnalysisFilterBank
Package: dsp

Reset filter states




reset(H) resets the filter states of the dyadic analysis filter bank object, H, to their initial values of zero. After the step method applies the dyadic analysis filter bank to nonzero input data, the filter states may change. Invoking the step method again without first invoking the reset method may produce different outputs for an identical input.

Example of resetting filter states:

X = [1 1 7 9 2 8 8 6]';
H = dsp.DyadicAnalysisFilterBank('NumLevels',1);
% Filter states are zero
y = step(H,X);
% Invoke step method again without resetting states
y1 = step(H,X);
isequal(y,y1) % Returns 0
reset(H); % Reset filter states to zero
y2 = step(H,X);
isequal(y,y2) % Returns 1
Was this topic helpful?