FUNCTION REFERENCE

getEstimator

Obtain the MPC Kalman gains and augmented observer model.

Obtain the MPC Kalman gains and augmented observer model.

Syntax

[L,M,A,Cm,Bu,Bv,Dvm] = getEstimator(c)

L is the predictor gain and M the measurement-update gain. State order is plant, input disturbance, output disturbance, noise. Bv and Dvm include a final constant-one input for nominal DX. Unit white noise acts on MV, MD and disturbance/noise model inputs, including cross covariance.

Example

c=mpc(ss(0.8,0.2,1,0,0.1)); [L,M,A,Cm,Bu,Bv,Dvm]=getEstimator(c)

Differences from MATLAB: the 'sys' form is not supported yet. At most 128 augmented states, plant inputs/outputs, and inputs per stochastic model; discrete sample-time resampling is not supported yet. Custom estimation returns empty gains.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.