Kalman Filter block that allows computing state transition matrix each time?

2 次查看(过去 30 天)
I would like to filter accelerometer data with a Kalman filter. One of the state variables will be velocity, and the other acceleration. Velocity will be a function of acceleration and elapsed time since the last iteration.
I do not want elapsed time to be a state variable. I would like to compute the state transition matrix on each iteration, but the Kalman Filter block in Simulink (dspadpt3) only has input ports for the measurement and the measurement matrix.
Is there another block, or way to use this one that I am not aware of, which will do what I want?

回答(1 个)

John Petersen
John Petersen 2014-10-2
Why don't you write your own Kalman filter in an Mfile and simulation time as an input. You can determine the elapsed time in the Mfile to use in your state transition matrix.

类别

Help CenterFile Exchange 中查找有关 State-Space Control Design and Estimation 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by