简体   繁体   English

与Matlab的lsqr线性方程求解器相关的混淆

[英]Confusion related to lsqr linear equation solver of matlab

I have this confusion related to the lsqr linear equation solver in matlab. 我对与MATLAB中的lsqr线性方程求解器有这种困惑。 It states that x = lsqr(A,b) attempts to solve the system of linear equations A*x=b for x if A is consistent. 它指出x = lsqr(A,b)如果A一致,则尝试求解x的线性方程组A * x = b。 I didn't get what they mean by consistent. 我并没有得到一致的含义。 Can anyone explain? 谁能解释?

It means that the system of equations has a solution. 这意味着方程组具有解。 Consider the alternative case which is inconsistent - this would be a system of equations that has NO solution. 考虑不一致的替代情况-这将是一个没有解的方程组。 For a simple example, finding the intersection point of a pair of (non-identical) parallel lines in the plane - this would be described by an inconsistent system of equations. 对于一个简单的示例,找到平面中一对(不同)平行线的交点-这将由不一致的方程组来描述。 See this for a fuller explanation http://en.wikipedia.org/wiki/System_of_linear_equations#Consistency 请参阅此以获得更完整的说明http://en.wikipedia.org/wiki/System_of_linear_equations#Consistency

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM