Main Content

Online State Estimation

Estimate model parameters using linear and nonlinear Kalman filters at the command line and in Simulink®

You can estimate the states of your system using real-time data and linear, extended, or unscented Kalman filter algorithms. You can perform online state estimation using the Simulink blocks in the Estimators sublibrary of the System Identification Toolbox™ library. You can then generate C/C++ code for these blocks usingSimulink Coder™, and deploy this code to an embedded target. You can also perform online state estimation at the command line, and deploy your code usingMATLAB®Compiler™orMATLAB Coder.

Functions

extendedKalmanFilter Create extended Kalman filter object for online state estimation
unscentedKalmanFilter Create unscented Kalman filter object for online state estimation
particleFilter Particle filter object for online state estimation
correct Correct state and state estimation error covariance using extended or unscented Kalman filter, or particle filter and measurements
residual Return measurement residual and residual covariance when using extended or unscented Kalman filter
predict Predict state and state estimation error covariance at next time step using extended or unscented Kalman filter, or particle filter
initialize Initialize the state of the particle filter
clone Copy online state estimation object

Blocks

卡尔曼滤波器 Estimate states of discrete-time or continuous-time linear system
Extended Kalman Filter Estimate states of discrete-time nonlinear system using extended Kalman filter
Particle Filter Estimate states of discrete-time nonlinear system using particle filter
Unscented Kalman Filter Estimate states of discrete-time nonlinear system using unscented Kalman filter

Topics

Online Estimation Basics

Online State Estimation in万博1manbetx

Online State Estimation at the Command Line

Troubleshooting

Troubleshoot Online State Estimation

Troubleshoot online state estimation performed using extended and unscented Kalman filter algorithms.