Table Of Contents

Fast Hilbert Transform (G Dataflow)

Last Modified: January 9, 2017

Computes the fast Hilbert transform of a sequence.



The input signal.


error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error



The fast Hilbert transform of the input sequence.


error out

Error information. The node produces this output according to standard error behavior.

Algorithm for Computing the Fast Hilbert Transform

The Hilbert transform of a function x(t) is defined as

h ( t ) = H { x ( t ) } = 1 π x ( τ ) t τ d τ

Using Fourier identities, you can show the Fourier transform of the Hilbert transform of x(t) is

h ( t ) H ( f ) = j sgn ( f ) X ( f )

where x ( t ) X ( f ) is a Fourier transform pair and

sgn ( f ) = { 1 f > 0 0 f = 0 1 f < 0

Performing the Discrete Implementation of the Hilbert Transform

This node performs the discrete implementation of the Hilbert transform with the aid of the FFT routines based upon the h ( t ) H ( f ) Fourier transform pair by taking the following steps:

  1. Fourier transform the input sequence X.
    Y = F{X}

  2. Set the DC component to zero.
    Y0 = 0.0

  3. If the sequence Y is an even size, set the Nyquist component to zero.
    YNyq = 0

  4. Multiply the positive harmonics by -j.
  5. Multiply the negative harmonics by j. Call the new sequence H, which is of the formHk = -jsgn(k)Yk
  6. Inverse Fourier transform H to obtain the Hilbert transform of the input sequence.

The output sequence Y = Inverse FFT [X] is complex and it is returned in one complex array: Y = (Yre,Yim).


Because this node sets the DC and Nyquist components to zero when the number of elements in the input sequence is even, you cannot always recover the original signal with an inverse Hilbert transform. The Hilbert transform works well with bandpass limited signals, which exclude the DC and the Nyquist components.

Applications of Hilbert Transform

You can use the Hilbert transform to accomplish the following tasks:

  • Extract instantaneous phase information and obtain the single-sideband spectra
  • Obtain the envelope of an oscillating signal
  • Detect echoes
  • Reduce sampling rates

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Recently Viewed Topics