view gaussian.m @ 828:f82da6644f42 feature/operator_files

Fixed bug in tests
author Ylva Rydin <ylva.rydin@telia.com>
date Mon, 10 Sep 2018 19:17:41 +0200
parents 6514c3b94721
children
line wrap: on
line source

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