模型转换函数
对象trackingIMM
转换x
= switchimm (modelType1
,x1
,modelType2
)状态
或StateCovariance
的属性trackingIMM
对象从modelType1
状态定义为modelType2
国家的定义。
modelType1
——指定当前运动模型的字符串名称。
x1
——指定状态
或StateCovariance
对应于modelType1
.
modelType2
——指定运动模型的字符串名称x1
需要转换。
另外还允许您指定输出的大小和类型。当未指定时,x
= switchimm (___,x2
)x
数据类型和维数与x1
.
x2
指定状态
或StateCovariance
对应于modelType2
.