view gaussian.m @ 1273:cf542444f022 feature/poroelastic

Correct error messages in lebedev2d
author Martin Almquist <malmquist@stanford.edu>
date Mon, 01 Jun 2020 19:00:31 -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