[請益]系統辨識問題
小弟目前在解系統辨識的問題,u w q theta分別是輸入,delta是輸出
以下是小弟的code
uu=[delta];
yy=[u w q theta];
dry=iddata(yy,uu,0.1);
ze=dry(1:400);
ze=detrend(ze);
na=[1 1 0 1;1 1 1 0;1 1 1 0;0 0 1 1];
nb=[1;1;1;0];
nk=[1;1;1;0];
LS=arx(ze,[na nb nk]);
PEM=pem(ze,LS);
compare(ze,LS,PEM);
出現錯誤
Error using pem (line 102)
Index exceeds matrix dimensions.
Error in test (line 10)
PEM=pem(ze,LS);
謝謝
--
推
02/24 12:29,
02/24 12:29
推
02/24 12:34,
02/24 12:34
推
02/24 12:36,
02/24 12:36
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.202.124
※ 文章網址: https://www.ptt.cc/bbs/MATLAB/M.1443541319.A.257.html