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.


Rational solutions of a homogeneous linear ordinary differential equation

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.


ode::rationalSolutions(Ly, y(x), <Generic>)


ode::rationalSolutions returns a fundamental set of the rational solutions of Ly, i.e., solutions in the field (x). When the option Generic is given, a generic form of them is returned.


Example 1

We compute the rational solutions of the following differential equation:


ode::rationalSolutions(Ly, y(x))

ode::rationalSolutions(Ly, y(x), Generic)



A homogeneous linear ordinary differential equation with coefficients in the field (x) of rational functions over the rationals.


The dependent function of Ly.

Return Values

set, possibly empty, of functions or an expression

See Also

MuPAD Functions

Was this topic helpful?