Documentation of inteul
Global Index (all files) (short | long)
| Local contents
| Local Index (files in subdir) (short | long)
Function Synopsis
[Timesim, Result] = inteul(SIM_F, Times, XINIT, Options, Control, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)
Help text
Integration of ODE's using EULER's formula
This function implements the vectorized EULER integrator.
Syntax: [Timevec, Result] = inteul(SIM_F, Times, XINIT, Options, Control, P1-Px)
Input parameters:
SIM_F - function to simulate
Times - vector containing TStart (start time - optional) and TEnd (end time)
XINIT - initial values for the simulation of the individuals
every row contains the initial values for 1 individual
Options - vector containing [ERRMAX: max. rel. error, STEPMIN: min. stepsize, STEPMAX: max. stepsize, ...
(optional) NCONTR: number of control variables]
Control - control vector/matrix, every row is one control vector
format: 1. ControlVariable 2. ControlVariable ... NCONTR. ControlVariable
--------------------------------------------------------------------
Ind1: | 1:ControlSteps 1:ControlSteps ... 1:ControlSteps
Ind2: | 1:ControlSteps 1:ControlSteps ... 1:ControlSteps
P1 - Px - (optional) parameters passed through to simulation function
Output parameters:
Timesim - vector containing time of simulation steps
Result - results, state vectors
format: 1. ControlVariable 2. ControlVariable ... NCONTR. ControlVariable
--------------------------------------------------------------------
Ind1: | 1:ControlSteps 1:ControlSteps ... 1:ControlSteps
Ind2: | 1:ControlSteps 1:ControlSteps ... 1:ControlSteps
See also: objdopi, intrk4
Cross-Reference Information
This document is part of
version 3.8 of the
GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab -
www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is
not public domain.
© 1994-2006 Hartmut Pohlheim, All Rights Reserved,
(support@geatbx.com).