[home] [lexicon] [problems] [tests] [courses] [auxiliaries] [notes] [staff] | ||
Mathematics-Online lexicon: | ||
Solvability of Linear Systems of Equations and Matrix Inversion with MATLAB |
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z | 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,
see also:
automatically generated 3/ 8/2007 |