Info

This question is closed. Reopen it to edit or answer.

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

2 views (last 30 days)
I am working with greybox modeling. I encountered an error. 'Error using iddata/greyest (line 40)' 'Index exceeds matrix dimensions' I wonder how 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','estimate','DisturbanceModel','none','SearchMethod','fmincon');
data=MdlPrp_CLC.allIddt(:,1,1,1:23);
mdl2 = greyest(data, init_sys2,opt);
  1 Comment
Walter Roberson
Walter Roberson on 30 Jul 2017
Duplicates https://www.mathworks.com/matlabcentral/answers/350818-multiple-experiments-for-estimation-with-the-option-initialstate-estimate

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!