view gaussian.m @ 1055:b828e589d540 feature/poroelastic

Copy-paste LaplCurviNewCorner from laplace branch.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 25 Jan 2019 14:04:23 -0800
parents 6514c3b94721
children
line wrap: on
line source

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