Numeric Solvers

Approximate solutions of equations and systems numerically


MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

numeric::butcherButcher parameters of Runge-Kutta schemes
numeric::cubicSplineInterpolation by cubic splines
numeric::cubicSpline2dInterpolation by 2-dimensional bi-cubic splines
numeric::fsolveSearch for a numerical root of a system of equations
numeric::leastSquaresLeast squares solution of linear equations
numeric::linsolveSolve a system of linear equations
numeric::matlinsolveSolve a linear matrix equation
numeric::odesolveNumerical solution of an ordinary differential equation
numeric::odesolve2Numerical solution of an ordinary differential equation
numeric::odesolveGeometricNumerical solution of an ordinary differential equation on a homogeneous manifold
numeric::ode2vectorfieldConvert an ode system to vectorfield notation
numeric::odeToVectorFieldConvert an ode system to vectorfield notation
numeric::solveNumerical solution of equations (the float attribute of solve)

Examples and How To

Choose a Solver

The general solvers (solve for symbolic solutions and numeric::solve for numeric approximations) handle a wide variety of equations, inequalities, and systems.

Solve Equations Numerically

There are two methods to get numeric approximations of the solutions:


Numeric Algorithms Library

Use only in the MuPAD Notebook Interface.