view gaussian.m @ 1165:745ae0d134c9 feature/rv

Pass RHS of unstabilized ode to RKExterirorRvMg
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 27 Jun 2019 17:14:30 +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