[home] [lexicon] [problems] [tests] [courses] [auxiliaries] [notes] [staff] | ||
Mathematics-Online course: Linear Algebra - Linear Systems of Equations - Classification and General Structure | ||
Solution of Linear Systems of Equations and Matrix Inversion |
[previous page] [next page] | [table of contents][page overview] |
A linear system can be solved in MATLAB with the command
x=A\
b.
Depending on the dimensions different techniques are used.
In case of numerically instable matrices or in case of systems with loss
of rank a warning will be displayed. (The matrix is close to singular or badly
scaled.)
The MATLAB function inv inverts a regular square matrix:
\
b should definitely be
preferred, since the \
-command
uses more efficient and more stable algorithms.
Finally,
automatically generated 4/21/2005 |