view gaussian.m @ 949:6d2167719557 feature/utux2D

Remove half-commented switch in Utux.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 05 Dec 2018 15:27:44 -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