Jihen
Followers: 0 Following: 0
Feeds
已回答
Creating a tridiagonal matrix
function[A]=remplissage(n) R1=(-4)*ones(n-1,1); R2=ones(n-2,1); A=6*eye(n)+diag(R1,-1)+diag(R1,1)+diag(R2,2)+diag(R2,-2); en...
Creating a tridiagonal matrix
function[A]=remplissage(n) R1=(-4)*ones(n-1,1); R2=ones(n-2,1); A=6*eye(n)+diag(R1,-1)+diag(R1,1)+diag(R2,2)+diag(R2,-2); en...
2 years 前 | 0