view gaussian.m @ 734:eebe24a636c7 feature/poroelastic

Make Elastic2dVariable.size account for components.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 25 Apr 2018 14:46:24 -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