Code covered by the BSD License
-
[ u, x, p, cnv, ztrue]=disop...
Main DISOPE algorithm in Continuous Time
-
fstar( x, u, option )
This function must be created by the user to define
-
lstar( x, u , option )
This function must be created by the user to define
-
mmopsol( A, B, Q, R, PHI, x0,...
Continuous time LQ MMOP solution
-
phistar( x, option )
This function must be created by the user to define
-
pindex( u, x0, options )
-
main.m
-
View all files
from
Optimization Algorith for Uncertain Nonlinear Dynamic System
by Khairul Redwan
Dynamic Integrated System Optimization and Parameter Estimation (DISOPE) Technique
|
| lstar( x, u , option ) |
function sys = lstar( x, u , option )
% This function must be created by the user to define
% the performance weighting function L*()
if option == 'value'
% Return the value of L*(x,u,t)
sys = x(1)^2+ x(2)^2+ 0.1*u(1)^2;
elseif option == 'gradz'
% Return the gradient of L*(x,u,t) with respect to x
sys = zeros( 2,1 );
sys(1) = 2*x(1);
sys(2) = 2*x(2);
elseif option == 'gradv'
% Return the gradient of L*(x,u,t) with respect to u
sys = zeros( 1,1 );
sys(1) = 2*0.1*u(1);
else sys = [];
end;
return;
|
|
Contact us