Hi Kaiser,
I am self-learning DataDriven Control on Youtube channels and found this Code. After I downloaded the code. I have encountered several issues inside the Code itself.
The simplest one is DATA_ENSEMBLE and ENSEMBLE_DATA inconsistency.
Then I found the 'using fmincon nonlinear constraints problems' in MPC_F8 which has not been solved by myself yet.
In the EX_F8_SI_DelayDMDc, I think the
%% Prediction over traning phase
Here Hu' should be modified to something like Hu(1,1:end-1)' right ?
[xDMDc,~] = lsim(sysmodel_DMDc,Hu(1,1:end-1)',tspan(1:end-1),x(1,:)'-xmean');
Hi Kaiser, I am self-learning DataDriven Control on Youtube channels and found this Code. After I downloaded the code. I have encountered several issues inside the Code itself. The simplest one is DATA_ENSEMBLE and ENSEMBLE_DATA inconsistency. Then I found the 'using fmincon nonlinear constraints problems' in MPC_F8 which has not been solved by myself yet. In the EX_F8_SI_DelayDMDc, I think the
%% Prediction over traning phase
HereHu'
should be modified to something likeHu(1,1:end-1)'
right ?[xDMDc,~] = lsim(sysmodel_DMDc,Hu(1,1:end-1)',tspan(1:end-1),x(1,:)'-xmean');
I cannot run EX_F8_SI_NARX on ode45
Thank you