Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

reset

System object: dsp.BiquadFilter
Package: dsp

Reset states of biquad filter object

Syntax

reset(H)

Description

reset(H) resets the filter states of the biquad filter object,H, to the specified initial conditions. After the step method applies the biquad filter object to nonzero input data, the 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:

n =0:20;
x = cos(pi/4*n)+sin(pi/2*n);
H = dsp.BiquadFilter;
y = step(H,x');
% Apply step method without invoking reset
y1 = step(H,x');
isequal(y,y1) % Returns a 0
% Reset filter states to zero
reset(H)
% Now invoke step method
y2 = step(H,x');
isequal(y,y2) % Returns a 1
Was this topic helpful?