matlab求10阶线性方程出现Warning:Matrix is singular to working precision.怎么破?clear;A=[1.75,0.75,-1,0,0,0,0,0,-0.75,-0.75;0.75,0.75,0,0,0,0,0,0,-0.75,-0.75;-1,0,1.75,-0.75,-1,0,-0.75,-0.75,-0.75,0.75;0,0,-0.75,0.75,0,0,-0.75,-0.75,0.75,-0

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/22 18:20:30
matlab求10阶线性方程出现Warning:Matrixissingulartoworkingprecision.怎么破?clear;A=[1.75,0.75,-1,0,0,0,0,0,-0.75

matlab求10阶线性方程出现Warning:Matrix is singular to working precision.怎么破?clear;A=[1.75,0.75,-1,0,0,0,0,0,-0.75,-0.75;0.75,0.75,0,0,0,0,0,0,-0.75,-0.75;-1,0,1.75,-0.75,-1,0,-0.75,-0.75,-0.75,0.75;0,0,-0.75,0.75,0,0,-0.75,-0.75,0.75,-0
matlab求10阶线性方程出现Warning:Matrix is singular to working precision.怎么破?
clear;
A=[1.75,0.75,-1,0,0,0,0,0,-0.75,-0.75;0.75,0.75,0,0,0,0,0,0,-0.75,-0.75;-1,0,1.75,-0.75,-1,0,-0.75,-0.75,-0.75,0.75;0,0,-0.75,0.75,0,0,-0.75,-0.75,0.75,-0.75;0,0,-1,0,1.75,-0.75,-0.75,0.75,0,0;0,0,0,0,-0.75,0.75,0.75,-0.75,0,0;0,0,0,0,-0.75,0.75,1.75,-0.75,-1,0;0,0,0,0,0.75,-0.75,-0.75,0.75,0,0;-0.75,-0.75,-0.75,0.75,0,0,-1,0,2.5,0;-0.75,-0.75,0.75,-0.75,0,0,0,0,0,1.5];
b=[-1,-1,0,-10000,-1,-1,20000,0,0,-30000]';
x=A\B

matlab求10阶线性方程出现Warning:Matrix is singular to working precision.怎么破?clear;A=[1.75,0.75,-1,0,0,0,0,0,-0.75,-0.75;0.75,0.75,0,0,0,0,0,0,-0.75,-0.75;-1,0,1.75,-0.75,-1,0,-0.75,-0.75,-0.75,0.75;0,0,-0.75,0.75,0,0,-0.75,-0.75,0.75,-0
系数矩阵的秩为8,增广阵的秩为9,请检查方程