Matrix dimensions error while solving kalman filter example

조회 수: 1 (최근 30일)
Barkat
Barkat 2016년 11월 30일
편집: James Tursa 2016년 11월 30일
Hi I want to solve the following example for kalman filter but when I run the codes, the following error occures. Can you please help me to correct the codes? Thank you
??? Error using ==> ss.ss at 208
The value of the "OutputName" property must be a string vector with as many entries as outputs. Type "ltiprops lti" from more information.
Error in ==> kalman_pitch at 12
Plant = ss(A,[B B],C,0,-1,'inputname',{'u' 'w'},'outputname','y');
The codes are:
A=[-0.2231 -0.5282 0;-0.0450 -0.4696 0;0 1 0];
B=[0.0843;-0.1033;0];
C=[1 0 0;0 1 0; 0 0 1];
D=[0;0;0];
[num,den]=ss2tf(A,B,C,D)
Plant = ss(A,[B B],C,0,-1,'inputname',{'u' 'w'},'outputname','y');

답변 (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