view gaussian.m @ 1319:8b1110385ee2 feature/poroelastic

Bugfix interface forcing in ElasticCurveAnisotropic
author Martin Almquist <malmquist@stanford.edu>
date Tue, 28 Jul 2020 21:58:22 -0700
parents 6514c3b94721
children
line wrap: on
line source

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