Kalman Filter block that allows computing state transition matrix each time?
조회 수: 1(최근 30일)
표시 이전 댓글
Sebastian 2014년 9월 1일
답변: John Petersen 2014년 10월 2일
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?
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.
Find more on Adaptive Filters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!