- 博客(6)
- 收藏
- 关注
原创 matlab 高斯迭代的不同写法
%高斯回代的高富帅写法function X=GSHD_gaofushuai(A,B)N=size(A);n=N(1);for i=n:-1:1 if(i deta=A(1,(i 1):n)*X((i 1):n,1); else deta=0; X(i,1)=(B(i,1) - deta)/A(i
2013-09-26 21:21:07
2474
原创 数值方法 线性方程组的高斯消元法
function X=uptrbk(A,B)%Input -A is an N x N nonsingular matrix% -B is an N x 1 matrix%Output -X is an N x 1 matrix containing the solution to AX=B%Initialize X and the temporar
2013-09-14 12:51:55
1080
原创 数值方法 回代程序(matlab)
function X=backsub(A,B)%Input -A is an n x upper-triangular nonsigular matrix% -B is an n x 1 matrix%Output -X is the solution to the linear system AX=B% Find hte dimension of B and hte
2013-09-14 12:46:53
3779
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人