【发布时间】:2014-02-14 18:29:03
【问题描述】:
我正在阅读如何使用 MATLAB 求解线性方程组。
在本章中,我们处理了几种求解方程组的数值方案
a11x1 + a12x2 + ·· ·+a1NxN = b1
a21x1 + a22x2 + ·· ·+a2NxN = b2
. . . . . . . . . = .
aM1x1 + aM2x2 + ·· ·+aMNxN = bM
可以通过使用矩阵-向量表示法以紧凑的形式写成
A X = b
mxn
地点:
a11 a12 · · a1N
AM×N = a21 a22 · · a2N
· · · · ·
M1 aM2 · · aMN
x1
x= x2
·
xN
b1
b = b2
·
bM
In which we have 3 cases : M=N;M<N;M>N
我无法理解下面的块:
The Nonsingular Case (M = N)
x = A^−1 b
so long as the matrix A is not singular
>>A = [1 2;2 4]; b = [-1;-1];
>>x = A^-1*b
Warning: Matrix is singular to working precision.
x = -Inf
-Inf
This is the case where some or all of the rows of the coefficient matrix A are
dependent on other rows and so the rank of A is deficient, which implies that
there are some equations equivalent to or inconsistent with other equations. If
we remove the dependent rows until all the (remaining) rows are independent of
each other so that A has full rank (equal to M), it leads to the case of M <N,
which will be dealt with in the next section.
“A 等级不足”是什么意思?
【问题讨论】:
标签: matlab