Main Content

copy

Create copy of insEKF

Since R2022b

Description

example

newFilter = copy(filter) returns a copy of the insEKF object filter. The new filter object has the exactly the same property values.

Examples

collapse all

Create a default insEKF object.

filter = insEKF
filter = 
  insEKF with properties:

                   State: [13x1 double]
         StateCovariance: [13x13 double]
    AdditiveProcessNoise: [13x13 double]
             MotionModel: [1x1 insMotionOrientation]
                 Sensors: {[1x1 insAccelerometer]  [1x1 insGyroscope]}
             SensorNames: {'Accelerometer'  'Gyroscope'}
          ReferenceFrame: 'NED'

Create a copy of the insEKF object.

newFilter = copy(insEKF)
newFilter = 
  insEKF with properties:

                   State: [13x1 double]
         StateCovariance: [13x13 double]
    AdditiveProcessNoise: [13x13 double]
             MotionModel: [1x1 insMotionOrientation]
                 Sensors: {[1x1 insAccelerometer]  [1x1 insGyroscope]}
             SensorNames: {'Accelerometer'  'Gyroscope'}
          ReferenceFrame: 'NED'

Input Arguments

collapse all

INS filter, specified as an insEKF object.

Output Arguments

collapse all

Filter copy, returned as an insEKF object.

Version History

Introduced in R2022b

See Also