Linear Systems in Matlab

From Sutherland_wiki
Jump to: navigation, search

Solving Linear Systems of Equations in MATLAB

[A](x)=(b)

See the discussion of linear algebra for help on setting up a linear system of equations. There is also help on creating matrices and vectors in MATLAB.

Insert discussion of the "\" operator.
Also discuss "inv"

Example - Dense System

Example - Sparse System

Linear Systems using the Symbolic Toolbox

Occasionally we may want to find the symbolic (general) solution to a system of equations rather than a specific numerical solution. The symbolic toolbox provides a way to do this.