Documentation

numeric::odeToVectorField

Convert an ode system to vectorfield notation

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

numeric::odeToVectorField(IVP, fields)

Description

numeric::odeToVectorField and numeric::ode2vectorfield are equivalent. For details and examples, see numeric::ode2vectorfield.

Parameters

IVP

The initial value problem: a list or a set of equations involving univariate function calls y1(t), y2(t) etc. and derivates , , …, , etc. The differential equations must be quasi-linear: the highest derivative of each of the dependent functions y1(t), y2(t) etc. must enter the equations linearly. IVP must also contain corresponding initial conditions specified by linear equations in the expressions y1(t0), , …, y2(t0), etc. Alternatively, arithmetical expressions may be specified which are interpreted as equations with vanishing right hand side.

fields

The vector of the dynamical system equivalent to IVP: a list of symbolic function calls such as [y_1(t), y_1'(t), dots, y_2(t), y_2'(t), dots] representing the unknown fields to be solved for.

Return Values

Sequence f, t0, Y0. These data represent the dynamical system with the initial condition Y(t0) = Y0 equivalent to IVP. The vectorfield f: is a procedure, t0 is a numerical expression representing the initial ‘time', and Y0 is a list of numerical expressions representing the components of the initial vector Y0.

Was this topic helpful?