Commit a4030ca7 authored by j.schaeper's avatar j.schaeper
Browse files

fix fftfreqNormSq after Leons changes of fftfreq

parent fbf3d249
Pipeline #103309 passed with stage
in 3 minutes and 44 seconds
......@@ -48,7 +48,7 @@ if nargin < 2
end
xi = cell([numel(N),1]);
[xi{:}] = fftfreq(N, dx, false);
[xi{:}] = fftfreq(N, dx);
XiSq = xi{1}.^2;
for dim = 2:numel(xi)
XiSq = XiSq + xi{dim}.^2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment