Documentation Center

  • Trial Software
  • Product Updates

ode::mkODE

Builds a linear homogeneous ordinary differential equation from a list of coefficient functions

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

ode::mkODE(l, y, x)

Description

ode::mkODE(l, y, x) returns a linear homogeneous ordinary differential equation Ly in y(x) where the coefficients are the entries of the list l. The last element of the list l corresponds to the leading coefficients of Ly.

Examples

Example 1

We generate the linear ODE for y(x) with the coefficients -1, 4*x and 4*x^2 of y(x), y'(x) and y''(x), respectively:

ode::mkODE([-1, 4*x, 4*x^2], y, x)

Parameters

l

A list of coefficient functions.

y

The dependent variable of the resulting differential equation.

x

The independent variable of the resulting differential equation.

Return Values

Expression.

Was this topic helpful?