Klasse Dft

Bekannte direkte Unterklassen:
Dft2Sided, DftAsFft

public class Dft extends FourierTransformationAlgorithm
  • Konstruktordetails

    • Dft

      public Dft()
  • Methodendetails

    • transform

      public double[] transform(Signal[] signal)
      DFT implementation - calculation of the spectrum.
      Angegeben von:
      transform in Klasse FourierTransformationAlgorithm
      Parameter:
      signal - size must be 2n
      Gibt zurück:
      spectrum
    • getNextValidNumberofSamples

      public int getNextValidNumberofSamples(int proposedNumberofSamples)
      DFT size (must be 2n), 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 2n. Number of samples >= proposedNumberofSamples