<< isstatic | Control System functions | lqe >> |
[kalmf, L, P, M, Z] = kalman(sys, Q, R, N) |
[kalmf, L, P, M, Z] = kalman(sys, Q, R, N, sensors, known) |
Plant model with process noise: state-space model.
Process noise covariance: scalar or matrix.
Measurement noise covariance: scalar or matrix.
Noise cross covariance: scalar or matrix.
Measured outputs of sys: vector.
Known inputs of sys: vector.
Kalman estimator: state-space model
Filter gains: matrix
Steady-state error covariances: matrix
Innovation gains of state estimators: matrix
Steady-state error covariances: matrix
[kalmf, L, P] = kalman(sys, Q, R, N) generates a Kalman filter using the provided plant model sys and noise covariance matrices Q, R, and N.
The function calculates a Kalman filter suitable for application in a Kalman estimator, as depicted in the following diagram.
A = [11.269 -0.4940 1.129; 1.0000 0 0;0 1.0000 0];
B = [-0.3832; 0.5919; 0.5191];
C = [1 0 0];
sys = ss(A,[B, B], C, 0);
Q = 1;
R = 1;
[kEst, l, p, m, z] = kalman(sys, Q, R, [])
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET