Main Content

stateinfo

Display state vector information for ahrs10filter

Description

stateinfo(FUSE) displays the meaning of each index of the State property and the associated units.

example

info = stateinfo(FUSE) returns a structure with fields containing descriptions of the elements of the state vector of the filter, FUSE.

Examples

collapse all

Create an ahrs10filter object.

filter = ahrs10filter;

Display the state information of the created filter.

stateinfo(filter)
States                            Units    Index
Orientation (quaternion parts)             1:4  
Altitude (NAV)                    m        5    
Vertical Velocity (NAV)           m/s      6    
Delta Angle Bias (XYZ)            rad      7:9  
Delta Velocity Bias (XYZ)         m/s      10:12
Geomagnetic Field Vector (NAV)    µT       13:15
Magnetometer Bias (XYZ)           µT       16:18

Output the state information of the filter as a structure.

info = stateinfo(filter)
info = struct with fields:
               Orientation: [1 2 3 4]
                  Altitude: 5
          VerticalVelocity: 6
            DeltaAngleBias: [7 8 9]
         DeltaVelocityBias: [10 11 12]
    GeomagneticFieldVector: [13 14 15]
          MagnetometerBias: [16 17 18]

Input Arguments

collapse all

Object of ahrs10filter.

Output Arguments

collapse all

State information, returned as a structure. The field names of the structure are names of the elements of the state vector in the filter. The values of each field are the corresponding indices of the state vector.

Extended Capabilities

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

Version History

Introduced in R2019a