org.oc.ocvolume.dsp
Class fft

java.lang.Object
  extended by org.oc.ocvolume.dsp.fft

public class fft
extends java.lang.Object

last updated on June 15, 2002
description: FFT class for real signals. Upon entry, N contains the numbers of points in the DFT, real[] and imaginary[] contain the real and imaginary parts of the input. Upon return, real[] and imaginary[] contain the DFT output. All signals run from 0 to N - 1
calls: none
called by: featureExtraction
input: speech signal
output: real and imaginary part of DFT output

Author:
Danny Su

Field Summary
static double[] imag
          imaginary part
protected static int numPoints
          number of points
static double[] real
          real part
 
Constructor Summary
fft()
           
 
Method Summary
static void computeFFT(double[] signal)
          performs Fast Fourier Transformation
calls: none
called by: featureExtraction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

numPoints

protected static int numPoints
number of points


real

public static double[] real
real part


imag

public static double[] imag
imaginary part

Constructor Detail

fft

public fft()
Method Detail

computeFFT

public static void computeFFT(double[] signal)
performs Fast Fourier Transformation
calls: none
called by: featureExtraction

Parameters:
signal -