functionsr_ukfEstimate_2

Calculate filter gain and the updated mean of the state and Cholesky factor S of covariance P of a UKF

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Real[:]yMeasured output vector
Real[:]xmPredicted state mean
Real[size(y, 1)]ymPredicted mean
Real[size(xm, 1),size(xm, 1)]SCholesky factor of covariance matrix
Real[size(y, 1),size(y, 1)]SyyCholesky factor of transformed covariance matrix
Real[size(xm, 1),size(y, 1)]PxyTransformed cross covariance matrix

Outputs

TypeNameDefaultDescription
Real[size(xm, 1),size(y, 1)]KFilter gain
Real[size(xm, 1),size(xm, 1)]SuUpdated Cholesky factor state covariance matrix
Real[size(xm, 1)]xmuUpdated state mean