No BSD License
-
Back_Solve(A,b)
-
Band_Solve(A,b)
-
Form_Boundary(x,y)
Boundary conditions for poisson.m
-
Form_Gamma(m,N)
-
Form_Right(m,h,f,gb,gt,gl,gr,...
-
Modified_Right(f,m,N)
-
Transform(m,p)
-
ffunc(x,y)
function, f for poisson.m
-
poisson(m,endpt,N)
-
View all files
from
2D Fast Poisson Solver
by Harper Langston
2D Fast Poisson Solver on a Rectangular Domain
|
| ffunc(x,y)
|
% function, f for poisson.m
%
% Assume x and y of same length.
% f is returned as a matrix, analyzed at all interior points of the grid
% if f = 0, make sure f is a matrix of zeros, the size of x, NOT JUST ONE VALUE = 0!
function f = ffunc(x,y)
f = exp(x.*y);
%
% Written by M. Harper Langston - 5/10/00
% harper@cims.nyu.edu
%
|
|
Contact us at files@mathworks.com