Navigation

Operators and Keywords

Function List:

C++ API

odepkg

A package for solving ordinary differential equations and more.

Select category:

OdePkg Tutorial

odepkg
OdePkg is part of the GNU Octave Repository (the Octave-Forge project).

OdePkg ODE Solver Functions

ode23
This function file can be used to solve a set of non-stiff ordinary differential equations (non-stiff ODEs) or non-stiff differential algebraic equations (non-stiff DAEs) with the well known explicit
ode23s
This function can be used to solve a set of stiff ordinary differential equations with a Rosenbrock method of order (2,3).
ode45
This function file can be used to solve a set of non-stiff ordinary differential equations (non-stiff ODEs) or non-stiff differential algebraic equations (non-stiff DAEs) with the well known explicit
ode54
This function file can be used to solve a set of non-stiff ordinary differential equations (non-stiff ODEs) or non-stiff differential algebraic equations (non-stiff DAEs) with the well known explicit
ode78
This function file can be used to solve a set of non-stiff ordinary differential equations (non-stiff ODEs) or non-stiff differential algebraic equations (non-stiff DAEs) with the well known explicit

OdePkg DAE Solver Functions

ode2r
This function file can be used to solve a set of stiff ordinary differential equations (ODEs) and stiff differential algebraic equations (DAEs).
ode5r
This function file can be used to solve a set of stiff ordinary differential equations (ODEs) and stiff differential algebraic equations (DAEs).
odebda
This function file can be used to solve a set of stiff ordinary differential equations (ODEs) and stiff differential algebraic equations (DAEs).
odebwe
This function file can be used to solve a set of stiff ordinary differential equations (stiff ODEs) or stiff differential algebraic equations (stiff DAEs) with the Backward Euler method.
oders
This function file can be used to solve a set of stiff ordinary differential equations (ODEs) and stiff differential algebraic equations (DAEs).
odesx
This function file can be used to solve a set of stiff ordinary differential equations (ODEs) and stiff differential algebraic equations (DAEs).

OdePkg IDE Solver Functions

odebdi
This function file can be used to solve a set of stiff implicit differential equations (IDEs).
odekdi
This function file can be used to solve a set of stiff implicit differential equations (IDEs).

OdePkg DDE Solver Functions

ode23d
This function file can be used to solve a set of non-stiff delay differential equations (non-stiff DDEs) with a modified version of the well known explicit Runge-Kutta method of order (2,3).
ode45d
This function file can be used to solve a set of non-stiff delay differential equations (non-stiff DDEs) with a modified version of the well known explicit Runge-Kutta method of order (4,5).
ode54d
This function file can be used to solve a set of non-stiff delay differential equations (non-stiff DDEs) with a modified version of the well known explicit Runge-Kutta method of order (2,3).
ode78d
This function file can be used to solve a set of non-stiff delay differential equations (non-stiff DDEs) with a modified version of the well known explicit Runge-Kutta method of order (7,8).

OdePkg Options Functions

odeset
If this function is called without an input argument then return a new OdePkg options structure array that contains all the necessary fields and sets the values of all fields to default values.
odeget
If this function is called with two input arguments and the first input argument ODESTRUCT is of type structure array and the second input argument OPTION is of type string then return the option valu

OdePkg Output Functions

odeplot
Open a new figure window and plot the results from the variable Y of type column vector over time while solving.
odeprint
Display the results of the set of differential equations in the Octave window while solving.
odephas2
Open a new figure window and plot the first result from the variable Y that is of type double column vector over the second result from the variable Y while solving.
odephas3
Open a new figure window and plot the first result from the variable Y that is of type double column vector over the second and the third result from the variable Y while solving.

OdePkg Example Functions

odeexamples
Open the differential equations examples menu and allow the user to select a submenu of ODE, DAE, IDE or DDE examples.
odepkg_examples_dae
Open the DAE examples menu and allow the user to select a demo that will be evaluated.
odepkg_examples_dde
Open the DDE examples menu and allow the user to select a demo that will be evaluated.
odepkg_examples_ide
Open the IDE examples menu and allow the user to select a demo that will be evaluated.
odepkg_examples_ode
Open the ODE examples menu and allow the user to select a demo that will be evaluated.

OdePkg Testsuite Functions

odepkg_testsuite_calcscd
If this function is called with four input arguments of type double scalar or column vector then return a normalized value for the minimum number of correct digits SCD that is calculated from the solu
odepkg_testsuite_calcmescd
If this function is called with four input arguments of type double scalar or column vector then return a normalized value for the minimum number of correct digits MESCD that is calculated from the so
odepkg_testsuite_chemakzo
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_hires
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_implakzo
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_implrober
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_impltrans
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_oregonator
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_pollution
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_robertson
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri
odepkg_testsuite_transistor
If this function is called with two input arguments and the first input argument @SOLVER is a function handle describing an OdePkg solver and the second input argument RELTOL is a double scalar descri

OdePkg Internal Functions

odepkg_event_handle
Return the solution of the event function that is specified as the first input argument @FUN in form of a function handle.
odepkg_structure_check
If this function is called with one input argument of type structure array then check the field names and the field values of the OdePkg structure OLDSTRUCT and return the structure as NEWSTRUCT if no

OdePkg Other Functions

bvp4c
Solves the first order system of non-linear differential equations defined by ODEFUN with the boundary conditions defined in BCFUN.

Package: odepkg