kalman
Design Kalman filter for state estimation.
📝 Syntax
[kalmf, L, P, M, Z] = kalman(sys, Q, R, N)
[kalmf, L, P, M, Z] = kalman(sys, Q, R, N, sensors, known)
📥 Input argument
sys - Plant model with process noise: state-space model.
Q - Process noise covariance: scalar or matrix.
R - Measurement noise covariance: scalar or matrix.
N - Noise cross covariance: scalar or matrix.
sensors - Measured outputs of sys: vector.
known - Known inputs of sys: vector.
📤 Output argument
kalmf - Kalman estimator: state-space model
L - Filter gains: matrix
P - Steady-state error covariances: matrix
M - Innovation gains of state estimators: matrix
Z - Steady-state error covariances: matrix
📄 Description
[kalmf, L, P] = kalman(sys, Q, R, N) generates a Kalman filter using the provided plant modelsys and noise covariance matrices Q, R, andN.
The function calculates a Kalman filter suitable for application in a Kalman estimator, as depicted in the following diagram.
💡 Example
🔗 See also
🕔 History
1.0.0
initial version
Last updated
Was this helpful?