Guest User

Untitled

a guest
Jan 16th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. n=50;
  2. alpha=1;
  3. A=gallery('poisson',n);
  4.  
  5. K=[A -1/alpha*speye(n^2);
  6. speye(n^2) A];
  7. b=[zeros(n^2,1) -ones(n^2,1)];
  8. solution=Kb;
  9. %embedding with boundaries...
Add Comment
Please, Sign In to add comment