Shift zero-frequency component to center of spectrum
function fftShift import Modelica.ComplexMath.*; input Complex[:] x "The vector to be shifted"; output Complex[size(x, 1)] y "The shifted vector"; end fftShift;