Main Content

reset

Reset internal states for insfilterAsync

Description

reset(FUSE) resets the State and StateCovariance properties of the insfilterAsync object to their default values.

example

Examples

collapse all

Create an insfilterAsync object and set its angular velocity state to [1 1 1] rad/s.

filter = insfilterAsync;
filter.State(5:7) = [1 1 1];
disp(filter.State')
    1.0000         0         0         0    1.0000    1.0000    1.0000         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0   27.5550   -2.4169  -16.0849         0         0         0

Reset and display the filter state.

reset(filter)
disp(filter.State')
    1.0000         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0         0   27.5550   -2.4169  -16.0849         0         0         0

Input Arguments

collapse all

insfilterAsync, specified as an object.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Version History

Introduced in R2019a