Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 SuiteSparse 的 QR 求解器在 Matalab 中求解稀疏线性系统。我该如何选择它?我知道,根据矩阵结构,调用“\”运算符时会使用 QR 求解器。但是我还没有找到任何直接使用它的方法。有文件吗?
干杯
从 Matlab 手册中,可以找到 A*x = b 的最小二乘近似解:
R = qr(A); x = R\(R'\(A'*b)); r = b - A*x; e = R\(R'\(A'*r)); x = x + e;