linsolve
Solve symbolic linear equations in matrix form
Description
Examples
Input Arguments
Output Arguments
More About
Tips
If the solution is not unique,
linsolve
issues a warning, chooses one solution, and returns it.If the system does not have a solution,
linsolve
issues a warning and returnsX
with all elements set toInf
.Calling
linsolve
for numeric matrices that are not symbolic objects invokes the MATLAB®linsolve
function. This function accepts real arguments only. If your system of equations uses complex numbers, usesym
to convert at least one matrix to a symbolic matrix, and then calllinsolve
.
Version History
Introduced in R2012b
See Also
cond
| dsolve
| equationsToMatrix
| inv
| norm
| odeToVectorField
| rank
| solve
| symvar
| vpasolve