Package DSP.fft

Examples of DSP.fft.RDFT.evaluate()


    double[] tmp       = new double[ nfft ];
    double[] transform = new double[ nfft ];
    double[] kernel    = new double[ nfft ];
   
    System.arraycopy( x, 0, tmp, 0, x.length );
    fft.evaluate( tmp, transform  );
   
    Arrays.fill( tmp, 0.0f );
    System.arraycopy( coefficients, 0, tmp, 0, coefficients.length );
    fft.evaluate( tmp, kernel );
   
View Full Code Here


    System.arraycopy( x, 0, tmp, 0, x.length );
    fft.evaluate( tmp, transform  );
   
    Arrays.fill( tmp, 0.0f );
    System.arraycopy( coefficients, 0, tmp, 0, coefficients.length );
    fft.evaluate( tmp, kernel );
   
    RDFT.dftProduct( kernel, transform, 1.0f );
    fft.evaluateInverse( transform, tmp );
   
    // trim off trailing zeros
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.