design kalman filter simulink

2 views (last 30 days)
Khoa
Khoa on 13 Feb 2013
Hi everybody, I'm very news in matlab. Today I want to design kalman function(in simulink) but get problem now. My simulink below: http://www.mediafire.com/?mvazcdc4i20czxx If I set sampling time Ts=0.001(as u see in my block), the signal of scope1 only shows result 0->1(s). But if I change sampling time Ts=0.01 ( set constant block sampling time = 0.01 and in MATLAB Function1, set A = [1 1e-2 0.5e-4 ; 0 1 1e-2 ; 0 0 1];) I have good result 0-> 10(s). Can I set Ts = 0.001 and also have same result?
  3 Comments
Youssef  Khmou
Youssef Khmou on 13 Feb 2013
hi, Khoa, i am sorry for the second time, i tried to open the model and i get :
" Stateflow load mechanism has detected a set of corrupted charts. Specifically, Stateflow did not find the corresponding Simulink blocks for these charts. These......"
So, we wait for others answers to see, maybe there is a misconfiguration due to old versions of Simulink i guess .
In the mean while i suggest to take a look at my submission which uses Simulink and Programming for 1D case :
I hope that helps a bit

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Coder 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!