Package htw.ai.dln.utils.hilbert
Class Hilbert
- java.lang.Object
-
- htw.ai.dln.utils.hilbert.Hilbert
-
public class Hilbert extends java.lang.Object
Computes the N-point Discrete Hilbert Transform of real valued vector x: The algorithm consists of the following stages: - X(w) = FFT(x) is computed - H(w), DFT of a Hilbert transform filter h[n], is created: H[0]=H[N/2]=1 H[w]=2 for w=1,2,...,N/2-1 H[w]=0 for w=N/2+1,...,N-1 - x[n] and h[n] are convolved (i.e. X(w) and H(w) multiplied) - y[n], the Discrete Hilbert Transform of x[n] is computed by y[n]=IFFT(X(w)H(w)) for n=0,...,N-1- Author:
- Oytun Türk
-
-
Constructor Summary
Constructors Constructor Description Hilbert()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComplexArray
transform(double[] x)
static ComplexArray
transform(double[] x, int N)
-
-
-
Method Detail
-
transform
public static ComplexArray transform(double[] x)
-
transform
public static ComplexArray transform(double[] x, int N)
-
-