Mercurial > repos > public > sbplib
annotate fourInv.m @ 1045:dc1bcbef2a86 feature/getBoundaryOp
Remove ability to get several boundary ops at the same time from a few of the schemes
While it can be handy the code for the getBoundaryOp methods get needlessly cluttered
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 22 Jan 2019 17:12:22 +0100 |
parents | f6ada1719420 |
children |
rev | line source |
---|---|
598
f6ada1719420
Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
1 function u = ifour(u_hat) |
f6ada1719420
Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
2 u_hat = ifftshift(u_hat); |
f6ada1719420
Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
3 u = ifft(u_hat); |
f6ada1719420
Add functions for calculating fourier transforms
Jonatan Werpers <jonatan@werpers.com>
parents:
diff
changeset
|
4 end |