OptimalTrajectory:

Path: Math/Analysis

% Optimal trajectory using simplex
 Computes the control for an optimal trajectory using simplex for a fixed end
 time and state.

 Type OptimalTrajectory for a demo.
--------------------------------------------------------------------------
   Form:
   [err, u, x] = OptimalTrajectory( x0, xF, tF, uMax, f, maxIter )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x0             (:)    Initial state
   xF             (:)    Final state
   t              (1,:)  Times
   uMax           (:,1)  Maximum control
   f              (:)    Continuous time system
                         .a   (n,n)   State transition matrix
                         .b   (n,m)   Control input matrix
   maxIter        (1,1)  Maximum number of iterations for simplex

   -------
   Outputs
   -------
   err            (1,1)  Error
   u              (:)    Control
   x              (:,:)  State

--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: Control/C2DZOH
Common: General/CellToMat
Common: General/DispWithTitle
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Math: Analysis/Simplex
Math: Analysis/Simplex2
Math: Linear/InvP
Math: Linear/Mag

Back to the Math Module page