Code covered by the BSD License
-
[sys_foc]=ora_foc(r,N,w_L,w_H...
Filename: ora_foc.m
-
l(neq,t,x,u)
-
sys_Dg(neq,t,x0,xf)
J_x0 and J_xf are row vectors of length n.
-
sys_Dh(neq,t,x,u)
-
sys_Dl(neq,t,x,u)
l_x should be a row vector of length n.
-
sys_activate
-
sys_g(neq,t,x0,xf)
-
sys_h(neq,t,x,u)
xdot must be a column vector with n rows.
-
sys_init(params)
Here is a list of the different system information paramters.
-
main.m
-
View all files
from
Solution of Fractional Optimal Control Problems
by Christophe Tricaud
Solution of Fractional Optimal Control Problems using Rational Approximation
|
| sys_Dl(neq,t,x,u)
|
function [l_x,l_u,l_t] = sys_Dl(neq,t,x,u)
global sys_params A B C D
% l_x should be a row vector of length n.
% l_u should be a row vector of length m.
% l_t is not used.
F_NUM = neq(5);
l_x = 2*C'*C*x;
l_u = 2*D'*D*u + 2*u;
|
|
Contact us at files@mathworks.com