view gaussian.m @ 944:a35ed1d124d3 feature/utux2D

Change from opts to type in a few schemes
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 05 Dec 2018 10:52:37 +0100
parents 6514c3b94721
children
line wrap: on
line source

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