This is machine translation

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


Rational solutions of a first order homogeneous linear differential system

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::ratSys(M, x)


ode::ratSys(M, x) computes a fundamental set of rational solutions of the first order homogeneous linear differential system Y'=MY. This method uses a cyclic vector and therefore is not optimal.


Example 1

We compute the rational solutions of the following differential system:

A := matrix([ [2*(x+x^2-9)/x/(x-2),2*(x^2-6)/x/(x-2)], 
     [-3*(2*x+x^2-12)/x/(x-2),-(2*x+3*x^2-24)/x/(x-2)] ])

v := ode::ratSys(A, x)

And we can check the result:

diff(v[1], x) = normal(A*v[1])



A square matrix of type Dom::Matrix with coefficients in the field (x) of rational functions over the rationals.


The independent function.

Return Values

set, possibly empty, of objects of type Dom::Matrix.

Was this topic helpful?