aisha
Followers: 0 Following: 0
Feeds
已回答
how to enter values to array using loop
for j=1:N for i=j+1:N L(i,j)=(A(i,j)-L(i,j-1)*U(j-1,j))/U(j,j) U(j,j)=A(j,j)-sum(L(j,1:j-1)*U(1:j-1,j)); U(j,j...
how to enter values to array using loop
for j=1:N for i=j+1:N L(i,j)=(A(i,j)-L(i,j-1)*U(j-1,j))/U(j,j) U(j,j)=A(j,j)-sum(L(j,1:j-1)*U(1:j-1,j)); U(j,j...
1 year 前 | 0
已回答
chol() gives error for a (barely) positive definite matrix.
error in cholesky (line 9) L(d,d)=sqrt(A(d,d)-L(d,1-N).^2);
chol() gives error for a (barely) positive definite matrix.
error in cholesky (line 9) L(d,d)=sqrt(A(d,d)-L(d,1-N).^2);
1 year 前 | 0