Description Usage Arguments Value
Functions for generating sigma-points from original state and a Cholesky decomposition of the state variance-covariance matrix, and for generating weights for calculating mean and covariance via the Unscented Transformation.
1 2 3 | generateSigmaPoints(xMat, gam, PMatChol, L)
generateSigmaWeights(L, alpha, beta)
|
xMat |
Original state matrix: each column is a value of state variables. If |
gam |
Numeric. |
PMatChol |
Cholesky decomposition (preferably lower) of the variance-covariance matrix of |
L |
Dimension of state expansion. Should be equal to the number of non-zero entries on |
alpha |
Numeric in |
beta |
Numeric. Corrections in weights for calculating higher moments. Set to |
Matrix of size nrow(xMat) x (ncol(xMat) + 2*L)
.
Matrix of size (2*L+1) x 2
. First column contains weights for the calculation of the non-linearly transformed mean; second column – for the variance-covariance matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.