필터 지우기
필터 지우기

I need help on Kalman filter generated from state space matrices (A, B,C,D). How can I generate my output using lsim?

조회 수: 4 (최근 30일)
This is how I generated my matrices below
load('linsys.mat');
A = linsys1.A;
B = linsys1.B;
C = linsys1.C;
D = linsys1.D;
Plant = ss(A,B,C,D);
I then use..
Q = 1;
R = 1;
[kalmf,L,P] = kalman(Plant,Q,R)
I don't know know how to proceed from here.
  댓글 수: 2
Awak Mathok
Awak Mathok 2021년 11월 2일
when I use this out = lsim(SimModel,[u,w,v]); functions it tells me u is not define. u is my input in the model attached
Awak Mathok
Awak Mathok 2021년 11월 2일
편집: Awak Mathok 2021년 11월 2일
i followed this technique...Kalman Filtering - MATLAB & Simulink - MathWorks Australia. I just need to know what I am doing wrong and maybe give me some directions and should work my way out from there.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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