Model conversion function for
objecttrackingIMM
converts the x
= switchimm(modelType1
,x1
,modelType2
)State
or StateCovariance
properties
of the trackingIMM
object from modelType1
state definition to
modelType2
state definition.
modelType1
–– Specifies the string name of the current motion
model.
x1
–– Specifies State
or
StateCovariance
corresponding to
modelType1
.
modelType2
–– Specifies the string name of the motion model
to which x1
needs to be converted.
additionally lets you specify the size and type of the output. When not specified,
x
= switchimm(___,x2
)x
has the same data type and dimensionality as
x1
.
x2
specifies State
or
StateCovariance
corresponding to
modelType2
.