view gaussian.m @ 842:619561e9ec0e feature/burgers1d

Reformulate the RK4 time stages in order to easier see how the residual should be updated.
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 14 Sep 2018 16:40:19 +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