view gaussian.m @ 725:e9e15d64f9f9 feature/poroelastic

Implement symmetric Dirichlet BC with variable tuning parameter in Heat2D scheme.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 30 Mar 2018 15:35:46 -0700
parents 705658c55229
children 6514c3b94721
line wrap: on
line source

function z = gaussian(x,x0,d)
    z = exp(-norm(x-x0).^2/d^2);
end