Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ode::vectorize

Coefficients of a homogeneous linear ODE

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

ode::vectorize(Ly, y, x, n)

Description

ode::vectorize(Ly, y, x, n) returns the list of coefficients of the n-th order homogeneous linear ordinary differential equation Ly.

Examples

Example 1

We compute the list of coefficients of the following differential equation:

Ly := 4*x^2*diff(y(x), x$3)+exp(x^2)*diff(y(x),x$2)+
      4*x*diff(y(x),x)-y(x)

ode::vectorize(Ly, y, x, 3)

Parameters

Ly

A homogeneous linear ordinary differential equation.

y

The dependent variable of Ly.

x

The independent variable of Ly.

n

The order of Ly, a positive integer.

Return Values

list

Was this topic helpful?