equation solving -凯发k8网页登录
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 solutions, use
vpasolve
. for solving linear equations, use
linsolve
. these solver functions have the flexibility to
handle complicated problems. see .
solve differential equations by using . create these differential equations by using symbolic functions. see .
solve differential algebraic equations (daes)
by first reducing their differential index to 1
or
0
using symbolic math toolbox™ functions, and then using matlab® solvers, such as ode15i
,
ode15s
, or ode23t
. see .
live editor tasks
find analytic solutions of symbolic equations in live editor |
functions
topics
solve equations analytically, return full solutions, and visualize results.
solve a differential equation analytically by using the
dsolve
function, with or without initial conditions.
this example show how to solve differential algebraic equations (daes) by using matlab® and symbolic math toolbox™.