Get fourier series coeficient
function FFT import Modelica.Constants.pi; input Real f[:] "equidistant-sampled function"; input Integer nfi = div(size(f, 1), 2) + 1 ""; output Complex c[:] "Fourier series coeficient"; end FFT;