design kalman filter simulink

1 vue (au cours des 30 derniers jours)
Khoa
Khoa le 13 Fév 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 commentaires
Khoa
Khoa le 13 Fév 2013
Youssef  Khmou
Youssef Khmou le 13 Fév 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by