Mobile app and web development and training.
A = [2 4 2; 4 11 4; 2 4 6]j = 1n = 3while j <= n k = 1 while k < j i = j while i <= n A(i,j) = A(i,j) - A(i,k)*A(j,k) i=i+1 end k = k+1 end A(j,j) = (A(j,j)).^(1/2) k = j+1 while k <= n A(k,j) = (A(k,j))/(A(j,j)) k = k+1 end j = j+1endA
No comments:
Post a Comment