You can solve algebraic equations, differential equations, and differential algebraic equations (DAEs).
Solve algebraic equations to
get either exact analytic solutions or high-precision numeric solutions.
For analytic solutions, use
solve, and for numerical
vpasolve. For solving linear equations,
linsolve. These solver functions have the flexibility
to handle complicated problems. See Troubleshoot Equation Solutions from solve Function.
Solve differential algebraic equations (DAEs)
by first reducing their differential index to
0 using Symbolic Math
and then using MATLAB® solvers, such as
ode23t. See Solve Differential Algebraic Equations (DAEs).
|Convert system of differential algebraic equations to MATLAB function handle suitable for ode15i|
|Find consistent initial conditions for first-order implicit ODE system with algebraic constraints|
|Search for decoupled blocks in systems of equations|
|Find incidence matrix of system of equations|
|Check if differential index of system of equations is lower than 2|
|Extract mass matrix and right side of semilinear system of differential algebraic equations|
|Convert symbolic expressions to function handle for ODE solvers|
|Convert system of first-order differential algebraic equations to equivalent system of differential index 1|
|Convert system of first-order semilinear differential algebraic equations to equivalent system of differential index 0|
|Reduce system of higher-order differential equations to equivalent system of first-order differential equations|
|Simplify system of first-order differential algebraic equations by eliminating redundant equations and variables|
Solve equations, return full solutions, and visualize results.
Solve a differential equations by using the
dsolve function, with or without initial conditions.
Solve differential algebraic equations (DAEs) by using MATLAB and Symbolic Math Toolbox.