フィルターのクリア

multiple experiments for estimation with the option 'InitialState' = 'estimate'.

3 ビュー (過去 30 日間)
Rex Chin-Hao
Rex Chin-Hao 2017 年 7 月 30 日
回答済み: Walter Roberson 2017 年 7 月 30 日
I am working with greybox modeling. I encountered an error. 'Error using iddata/greyest (line 40)' 'Index exceeds matrix dimensions' I wonder I can I fix it.
Whenever I used multiple experiments for estimation with the option 'InitialState' = 'estimate'. But If I indicate 'InitialState' = 'zero' then everything is fine.
opt = greyestOptions('Display','on','InitialState','zero','DisturbanceModel','none','SearchMethod','fmincon');
data=MdlPrp_CLC.allIddt(:,1,1,1:23);
mdl2 = greyest(data, init_sys2,opt);
>> 'Error using iddata/greyest (line 40)'
'Index exceeds matrix dimensions'
opt = greyestOptions('Display','on','InitialState','zero','DisturbanceModel','none','SearchMethod','fmincon');
data=MdlPrp_CLC.allIddt(:,1,1,1:23);
mdl2 = greyest(data, init_sys2,opt);

採用された回答

Walter Roberson
Walter Roberson 2017 年 7 月 30 日
It is not easy to tell without test data to use. The error is being reported from within a try/catch, so it might be happening several levels down.
The most immediate possibility is that you would get an error at that point if your data array turned out to be an empty cell; that is not something that we outside can rule out at this point with the information provided.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Preparation Basics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by