Klasse Fft


public class Fft extends FourierTransformationAlgorithm
  • Konstruktordetails

    • Fft

      public Fft()
  • Methodendetails

    • transform

      public double[] transform(Signal[] signal)
      FFT implementation - calculation of the spectrum. (Factor 1/N, N is size, is not considered.)
      Angegeben von:
      transform in Klasse FourierTransformationAlgorithm
      Parameter:
      signal - size must be 2^n
      Gibt zurück:
      spectrum
    • getNextValidNumberofSamples

      public int getNextValidNumberofSamples(int proposedNumberofSamples)
      FFT size (must be 2^n), i.e. the number of samples to be transformed. Valid number of samples is calculated.
      Angegeben von:
      getNextValidNumberofSamples in Klasse FourierTransformationAlgorithm
      Gibt zurück:
      Number of samples that are transformed must be 2^n. Number of samples >= proposedNumberofSamples