.Wavelet.General.fft

Information

Fast Fourier transform

Interface

function fft
  import Modelica.ComplexMath.*;
  input Complex[:] x = {Complex(re = 1, im = 0), Complex(re = 2, im = 0), Complex(re = 3, im = 0), Complex(re = 4, im = 0), Complex(re = 5, im = 0), Complex(re = 6, im = 0), Complex(re = 7, im = 0), Complex(re = 8, im = 0)} "The vector to be transformed";
  input Integer n = 8 "Number of data points to be calculated";
  output Complex[size(x, 1)] y "The result";
end fft;

Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos