Class FFTMixedRadix


  • public class FFTMixedRadix
    extends java.lang.Object
    FFT for non-power-of-two sequences Note that, this algorithm is significantly slower than FFT.java. Please re-check if zero-padding works for your application and if so, use FFT.java with zero padding to the closest power of two length
    Author:
    Oytun Türk
    • Constructor Detail

      • FFTMixedRadix

        public FFTMixedRadix()
    • Method Detail

      • fftPowerSpectrum

        public static double[] fftPowerSpectrum​(double[] x)
      • fftPowerSpectrum

        public static double[] fftPowerSpectrum​(double[] x,
                                                int fftSize)
      • fftAbsSpectrum

        public static double[] fftAbsSpectrum​(double[] x)
      • fftAbsSpectrum

        public static double[] fftAbsSpectrum​(double[] x,
                                              int fftSize)
      • fftReal

        public static ComplexArray fftReal​(double[] x,
                                           int xlen)
      • fftReal

        public static ComplexArray fftReal​(double[] x,
                                           int xlen,
                                           int fftSize)
      • fftComplexInPlace

        public static void fftComplexInPlace​(double[] real,
                                             double[] imag)
      • fftComplex

        public static ComplexArray fftComplex​(double[] real,
                                              double[] imag)
      • fftComplex

        public static ComplexArray fftComplex​(double[] real,
                                              double[] imag,
                                              int ifftSize)
      • ifft

        public static ComplexArray ifft​(double[] real,
                                        double[] imag)
      • ifft

        public static ComplexArray ifft​(double[] real,
                                        double[] imag,
                                        int ifftSize)
      • ifftReal

        public static double[] ifftReal​(ComplexArray x,
                                        int ifftSize)
      • test_fft_ifft_real_random

        public static void test_fft_ifft_real_random()