view fourInv.m @ 754:5264ce57b573 feature/d1_staggered

Bugfix diracDiscr to make it work for grids that are non-equidistant near boundaries.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 15 Jun 2018 14:01:13 -0700
parents f6ada1719420
children
line wrap: on
line source

function u = ifour(u_hat)
    u_hat = ifftshift(u_hat);
    u = ifft(u_hat);
end