Hi Yi Cao thankyou for your great effort in explaining us the simulink model. I will be geratly thank full if you could solve my problem.
In your file runkalmanfilter.m file example :3 for 4 state system you have initialized
u=[(0:100:1000)' rand(11,2) ] ;
which generates 11*3 matrix and gives a 1*2 matrix as input matrix for both actual system and to the kalman filter.
our state equations are
x1=Ax+Bu+Q in which
A=4*4 matrix B=4*2 matrix Q=4*4 matrix u=1*2 matrix and x=4*1matrix
in your simulink model where you actually multiplied Ax+Bu+Q how is this possible when matrix dimensions of B and u do not match for multiplication.
stunning part in this is even though matrix dimensions did not match but simulink is executing it how is this possible.
I will be very thank full if you could hell me out.
Hello Paul Barnard!!!
To your attention another my work,
I did half-car model using simscape (expounded on my page),
that you think about it?
A design of dynamics of car is this my hobby,
however my models in Simulink yet bad quality.