Hilbert transform explained

In mathematics and signal processing, the Hilbert transform is a specific singular integral that takes a function, of a real variable and produces another function of a real variable . The Hilbert transform is given by the Cauchy principal value of the convolution with the function

1/(\pit)

(see). The Hilbert transform has a particularly simple representation in the frequency domain: It imparts a phase shift of ±90° (/2 radians) to every frequency component of a function, the sign of the shift depending on the sign of the frequency (see). The Hilbert transform is important in signal processing, where it is a component of the analytic representation of a real-valued signal . The Hilbert transform was first introduced by David Hilbert in this setting, to solve a special case of the Riemann–Hilbert problem for analytic functions.

Definition

The Hilbert transform of can be thought of as the convolution of with the function, known as the Cauchy kernel. Because 1/ is not integrable across, the integral defining the convolution does not always converge. Instead, the Hilbert transform is defined using the Cauchy principal value (denoted here by). Explicitly, the Hilbert transform of a function (or signal) is given by

\operatorname(u)(t) = \frac\, \operatorname \int_^ \frac\,\mathrm\tau,

provided this integral exists as a principal value. This is precisely the convolution of with the tempered distribution .[1] Alternatively, by changing variables, the principal-value integral can be written explicitly[2] as

\operatorname(u)(t) = \frac\, \lim_ \int_\varepsilon^\infty \frac \,\mathrm\tau.

When the Hilbert transform is applied twice in succession to a function, the result is

\operatorname\bigl(\operatorname(u)\bigr)(t) = -u(t),

provided the integrals defining both iterations converge in a suitable sense. In particular, the inverse transform is

-\operatorname{H}

. This fact can most easily be seen by considering the effect of the Hilbert transform on the Fourier transform of (see below).

For an analytic function in the upper half-plane, the Hilbert transform describes the relationship between the real part and the imaginary part of the boundary values. That is, if is analytic in the upper half complex plane, and, then up to an additive constant, provided this Hilbert transform exists.

Notation

In signal processing the Hilbert transform of is commonly denoted by

\hat{u}(t)

.[3] However, in mathematics, this notation is already extensively used to denote the Fourier transform of .[4] Occasionally, the Hilbert transform may be denoted by

\tilde{u}(t)

. Furthermore, many sources define the Hilbert transform as the negative of the one defined here.[5]

History

The Hilbert transform arose in Hilbert's 1905 work on a problem Riemann posed concerning analytic functions, which has come to be known as the Riemann–Hilbert problem. Hilbert's work was mainly concerned with the Hilbert transform for functions defined on the circle. Some of his earlier work related to the Discrete Hilbert Transform dates back to lectures he gave in Göttingen. The results were later published by Hermann Weyl in his dissertation. Schur improved Hilbert's results about the discrete Hilbert transform and extended them to the integral case. These results were restricted to the spaces and . In 1928, Marcel Riesz proved that the Hilbert transform can be defined for u in

Lp(R)

(Lp space) for, that the Hilbert transform is a bounded operator on

Lp(R)

for, and that similar results hold for the Hilbert transform on the circle as well as the discrete Hilbert transform. The Hilbert transform was a motivating example for Antoni Zygmund and Alberto Calderón during their study of singular integrals. Their investigations have played a fundamental role in modern harmonic analysis. Various generalizations of the Hilbert transform, such as the bilinear and trilinear Hilbert transforms are still active areas of research today.

Relationship with the Fourier transform

The Hilbert transform is a multiplier operator. The multiplier of is, where is the signum function. Therefore:

\mathcal\bigl(\operatorname(u)\bigr)(\omega) = -i \sgn(\omega) \cdot \mathcal(u)(\omega),

where

l{F}

denotes the Fourier transform. Since, it follows that this result applies to the three common definitions of

l{F}

.

By Euler's formula,\sigma_\operatorname(\omega) = \begin ~~i = e^, & \text \omega < 0,\\ ~~ 0, & \text \omega = 0,\\ -i = e^, & \text \omega > 0.\end

Therefore, has the effect of shifting the phase of the negative frequency components of by +90° ( radians) and the phase of the positive frequency components by −90°, and has the effect of restoring the positive frequency components while shifting the negative frequency ones an additional +90°, resulting in their negation (i.e., a multiplication by −1).

When the Hilbert transform is applied twice, the phase of the negative and positive frequency components of are respectively shifted by +180° and −180°, which are equivalent amounts. The signal is negated; i.e.,, because

\left(\sigma_\operatorname(\omega)\right)^2 = e^ = -1 \quad \text \omega \neq 0 .

Table of selected Hilbert transforms

In the following table, the frequency parameter

\omega

is real.
Signal

u(t)

Hilbert transform[6]

\operatorname{H}(u)(t)

\sin(\omegat+\varphi)

[7]

\begin{array}{lll} \sin\left(\omegat+\varphi-\tfrac{\pi}{2}\right)=-\cos\left(\omegat+\varphi\right),\omega>0\\ \sin\left(\omegat+\varphi+\tfrac{\pi}{2}\right)=\cos\left(\omegat+\varphi\right),\omega<0 \end{array}

\cos(\omegat+\varphi)

\begin{array}{lll} \cos\left(\omegat+\varphi-\tfrac{\pi}{2}\right)=\sin\left(\omegat+\varphi\right),\omega>0\\ \cos\left(\omegat+\varphi+\tfrac{\pi}{2}\right)=-\sin\left(\omegat+\varphi\right),\omega<0 \end{array}

ei

\begin{array}{lll} ei\left(\omega{2}\right)},\omega>0\\ ei\left(\omega{2}\right)},\omega<0 \end{array}

e-i

\begin{array}{lll} e-i\left(\omega{2}\right)},\omega>0\\ e-i\left(\omega{2}\right)},\omega<0 \end{array}

1\overt2+1

t\overt2+1

-t2
e

2
\sqrt{\pi
} F(t)
(see Dawson function)
Sinc function

\sin(t)\overt

1-\cos(t)\overt

Dirac delta function

\delta(t)

{1\over\pit}

Characteristic function

\chi[a,b](t)

{

1
\pi

ln\left\vert

t-a
t-b

\right\vert}

Notes

  1. Due to ; see .
  2. .
  3. E.g., .
  4. E.g., .
  5. E.g., .
  6. Some authors (e.g., Bracewell) use our as their definition of the forward transform. A consequence is that the right column of this table would be negated.
  7. The Hilbert transform of the sin and cos functions can be defined by taking the principal value of the integral at infinity. This definition agrees with the result of defining the Hilbert transform distributionally.

An extensive table of Hilbert transforms is available.Note that the Hilbert transform of a constant is zero.

Domain of definition

It is by no means obvious that the Hilbert transform is well-defined at all, as the improper integral defining it must converge in a suitable sense. However, the Hilbert transform is well-defined for a broad class of functions, namely those in

Lp(R)

for .

More precisely, if is in

Lp(R)

for, then the limit defining the improper integral

\operatorname(u)(t) = \frac \lim_ \int_\varepsilon^\infty \frac\,d\tau

exists for almost every . The limit function is also in

Lp(R)

and is in fact the limit in the mean of the improper integral as well. That is,

\frac \int_\varepsilon^\infty \frac\,\mathrm\tau \to \operatorname(u)(t)

as in the norm, as well as pointwise almost everywhere, by the Titchmarsh theorem.

In the case, the Hilbert transform still converges pointwise almost everywhere, but may itself fail to be integrable, even locally. In particular, convergence in the mean does not in general happen in this case. The Hilbert transform of an function does converge, however, in -weak, and the Hilbert transform is a bounded operator from to . (In particular, since the Hilbert transform is also a multiplier operator on, Marcinkiewicz interpolation and a duality argument furnishes an alternative proof that is bounded on .)

Properties

Boundedness

If, then the Hilbert transform on

Lp(R)

is a bounded linear operator, meaning that there exists a constant such that

\left\|\operatornameu\right\|_p \le C_p \left\|u\right\|_p

for all [8]

The best constant

Cp

is given by[9] C_p = \begin \tan \frac & \text ~ 1 < p \leq 2, \\[4pt] \cot \frac & \text ~ 2 < p < \infty.\end

An easy way to find the best

Cp

for

p

being a power of 2 is through the so-called Cotlar's identity that

(\operatorname{H}f)2=f2+2\operatorname{H}(f\operatorname{H}f)

for all real valued . The same best constants hold for the periodic Hilbert transform.

The boundedness of the Hilbert transform implies the

Lp(R)

convergence of the symmetric partial sum operator S_R f = \int_^R \hat(\xi) e^ \, \mathrm\xi

to in [10]

Anti-self adjointness

The Hilbert transform is an anti-self adjoint operator relative to the duality pairing between

Lp(R)

and the dual space where and are Hölder conjugates and . Symbolically,

\langle \operatorname u, v \rangle = \langle u, -\operatorname v \rangle

for

u\isinLp(R)

and

Inverse transform

The Hilbert transform is an anti-involution, meaning that

\operatorname\bigl(\operatorname\left(u\right)\bigr) = -u

provided each transform is well-defined. Since preserves the space this implies in particular that the Hilbert transform is invertible on and that

\operatorname^ = -\operatorname

Complex structure

Because ("" is the identity operator) on the real Banach space of real-valued functions in the Hilbert transform defines a linear complex structure on this Banach space. In particular, when, the Hilbert transform gives the Hilbert space of real-valued functions in

L2(R)

the structure of a complex Hilbert space.

The (complex) eigenstates of the Hilbert transform admit representations as holomorphic functions in the upper and lower half-planes in the Hardy space by the Paley–Wiener theorem.

Differentiation

Formally, the derivative of the Hilbert transform is the Hilbert transform of the derivative, i.e. these two linear operators commute:

\operatorname\left(\frac\right) = \frac\operatorname(u)

Iterating this identity,

\operatorname\left(\frac\right) = \frac\operatorname(u)

This is rigorously true as stated provided and its first derivatives belong to One can check this easily in the frequency domain, where differentiation becomes multiplication by .

Convolutions

The Hilbert transform can formally be realized as a convolution with the tempered distribution

h(t) = \operatorname \frac

Thus formally,

\operatorname(u) = h*u

However, a priori this may only be defined for a distribution of compact support. It is possible to work somewhat rigorously with this since compactly supported functions (which are distributions a fortiori) are dense in . Alternatively, one may use the fact that h(t) is the distributional derivative of the function ; to wit

\operatorname(u)(t) = \frac\left(\frac \left(u*\log\bigl|\cdot\bigr|\right)(t)\right)

For most operational purposes the Hilbert transform can be treated as a convolution. For example, in a formal sense, the Hilbert transform of a convolution is the convolution of the Hilbert transform applied on only one of either of the factors:

\operatorname(u*v) = \operatorname(u)*v = u*\operatorname(v)

This is rigorously true if and are compactly supported distributions since, in that case,

h*(u*v) = (h*u)*v = u*(h*v)

By passing to an appropriate limit, it is thus also true if and provided that

1 < \frac + \frac

from a theorem due to Titchmarsh.

Invariance

The Hilbert transform has the following invariance properties on

L2(R)

.

R.

Up to a multiplicative constant, the Hilbert transform is the only bounded operator on 2 with these properties.

In fact there is a wider set of operators that commute with the Hilbert transform. The group

SL(2,R)

acts by unitary operators on the space

L2(R)

by the formula

\operatorname_^ f(x) = \frac \, f \left(\frac \right) \,,\qquad g = \begin a & b \\ c & d \end ~,\qquad \text~ a d - b c = \pm 1 .

This unitary representation is an example of a principal series representation of

~SL(2,R)~.

In this case it is reducible, splitting as the orthogonal sum of two invariant subspaces, Hardy space

H2(R)

and its conjugate. These are the spaces of boundary values of holomorphic functions on the upper and lower halfplanes.

H2(R)

and its conjugate consist of exactly those functions with Fourier transforms vanishing on the negative and positive parts of the real axis respectively. Since the Hilbert transform is equal to, with being the orthogonal projection from

L2(R)

onto

\operatorname{H}2(R),

and the identity operator, it follows that

\operatorname{H}2(R)

and its orthogonal complement are eigenspaces of for the eigenvalues . In other words, commutes with the operators . The restrictions of the operators to

\operatorname{H}2(R)

and its conjugate give irreducible representations of

SL(2,R)

– the so-called limit of discrete series representations.[11]

Extending the domain of definition

Hilbert transform of distributions

It is further possible to extend the Hilbert transform to certain spaces of distributions . Since the Hilbert transform commutes with differentiation, and is a bounded operator on, restricts to give a continuous transform on the inverse limit of Sobolev spaces:

\mathcal_ = \underset W^(\mathbb)

The Hilbert transform can then be defined on the dual space of

l{D}
Lp
, denoted
l{D}
Lp

'

, consisting of distributions. This is accomplished by the duality pairing:
For define:

\operatorname(u)\in \mathcal'_ = \langle \operatornameu, v \rangle \ \triangleq \ \langle u, -\operatornamev\rangle,\ \text \ v\in\mathcal_ .

It is possible to define the Hilbert transform on the space of tempered distributions as well by an approach due to Gel'fand and Shilov, but considerably more care is needed because of the singularity in the integral.

Hilbert transform of bounded functions

The Hilbert transform can be defined for functions in

Linfty(R)

as well, but it requires some modifications and caveats. Properly understood, the Hilbert transform maps

Linfty(R)

to the Banach space of bounded mean oscillation (BMO) classes.

Interpreted naïvely, the Hilbert transform of a bounded function is clearly ill-defined. For instance, with, the integral defining diverges almost everywhere to . To alleviate such difficulties, the Hilbert transform of an function is therefore defined by the following regularized form of the integral

\operatorname(u)(t) = \operatorname \int_^\infty u(\tau)\left\ \, \mathrm\tau

where as above and

h_0(x) = \begin0 & \text ~ |x| < 1 \\\frac & \text ~ |x| \ge 1\end

The modified transform agrees with the original transform up to an additive constant on functions of compact support from a general result by Calderón and Zygmund.[12] Furthermore, the resulting integral converges pointwise almost everywhere, and with respect to the BMO norm, to a function of bounded mean oscillation.

A deep result of Fefferman's work is that a function is of bounded mean oscillation if and only if it has the form for some

Conjugate functions

The Hilbert transform can be understood in terms of a pair of functions and such that the functionF(x) = f(x) + i\,g(x)is the boundary value of a holomorphic function in the upper half-plane. Under these circumstances, if and are sufficiently integrable, then one is the Hilbert transform of the other.

Suppose that

f\isinLp(R).

Then, by the theory of the Poisson integral, admits a unique harmonic extension into the upper half-plane, and this extension is given by

u(x + iy) = u(x, y) = \frac \int_^\infty f(s)\;\frac \; \mathrms

which is the convolution of with the Poisson kernel

P(x, y) = \frac

Furthermore, there is a unique harmonic function defined in the upper half-plane such that is holomorphic and\lim_ v\,(x + i\,y) = 0

This harmonic function is obtained from by taking a convolution with the conjugate Poisson kernel

Q(x, y) = \frac .

Thusv(x, y) = \frac\int_^\infty f(s)\;\frac\;\mathrms .

Indeed, the real and imaginary parts of the Cauchy kernel are\frac = P(x, y) + i\,Q(x, y)

so that is holomorphic by Cauchy's integral formula.

The function obtained from in this way is called the harmonic conjugate of . The (non-tangential) boundary limit of as is the Hilbert transform of . Thus, succinctly,\operatorname(f) = \lim_ Q(-, y) \star f

Titchmarsh's theorem

Titchmarsh's theorem (named for E. C. Titchmarsh who included it in his 1937 work) makes precise the relationship between the boundary values of holomorphic functions in the upper half-plane and the Hilbert transform. It gives necessary and sufficient conditions for a complex-valued square-integrable function on the real line to be the boundary value of a function in the Hardy space of holomorphic functions in the upper half-plane .

The theorem states that the following conditions for a complex-valued square-integrable function

F:R\toC

are equivalent:

l{F}(F)(x)

vanishes for .

A weaker result is true for functions of class for . Specifically, if is a holomorphic function such that

\int_^\infty |F(x + i\,y)|^p\;\mathrmx < K

for all, then there is a complex-valued function in

Lp(R)

such that in the norm as (as well as holding pointwise almost everywhere). Furthermore,

F(x) = f(x) - i\,g(x)

where is a real-valued function in

Lp(R)

and is the Hilbert transform (of class) of .

This is not true in the case . In fact, the Hilbert transform of an function need not converge in the mean to another function. Nevertheless, the Hilbert transform of does converge almost everywhere to a finite function such that

\int_^\infty \frac \; \mathrmx < \infty

This result is directly analogous to one by Andrey Kolmogorov for Hardy functions in the disc. Although usually called Titchmarsh's theorem, the result aggregates much work of others, including Hardy, Paley and Wiener (see Paley–Wiener theorem), as well as work by Riesz, Hille, and Tamarkin[13]

Riemann–Hilbert problem

One form of the Riemann–Hilbert problem seeks to identify pairs of functions and such that is holomorphic on the upper half-plane and is holomorphic on the lower half-plane, such that for along the real axis,F_(x) - F_(x) = f(x)

where is some given real-valued function of The left-hand side of this equation may be understood either as the difference of the limits of from the appropriate half-planes, or as a hyperfunction distribution. Two functions of this form are a solution of the Riemann–Hilbert problem.

Formally, if solve the Riemann–Hilbert problemf(x) = F_(x) - F_(x)

then the Hilbert transform of is given byH(f)(x) = -i \bigl(F_(x) + F_(x) \bigr) .

Hilbert transform on the circle

See also: Hardy space. For a periodic function the circular Hilbert transform is defined:

\tilde f(x) \triangleq \frac \operatorname \int_0^ f(t)\,\cot\left(\frac\right)\,\mathrmt

The circular Hilbert transform is used in giving a characterization of Hardy space and in the study of the conjugate function in Fourier series. The kernel, \cot\left(\frac\right)is known as the Hilbert kernel since it was in this form the Hilbert transform was originally studied.

The Hilbert kernel (for the circular Hilbert transform) can be obtained by making the Cauchy kernel periodic. More precisely, for

\frac\cot\left(\frac\right) = \frac + \sum_^\infty \left(\frac + \frac \right)

Many results about the circular Hilbert transform may be derived from the corresponding results for the Hilbert transform from this correspondence.

Another more direct connection is provided by the Cayley transform, which carries the real line onto the circle and the upper half plane onto the unit disk. It induces a unitary map

U\,f(x) = \frac \, f\left(C\left(x\right)\right)

of onto

L2(R).

The operator carries the Hardy space onto the Hardy space

H2(R)

.

Hilbert transform in signal processing

Bedrosian's theorem

Bedrosian's theorem states that the Hilbert transform of the product of a low-pass and a high-pass signal with non-overlapping spectra is given by the product of the low-pass signal and the Hilbert transform of the high-pass signal, or

\operatorname\left(f_\text(t)\cdot f_\text(t)\right) = f_\text(t)\cdot \operatorname\left(f_\text(t)\right),

where and are the low- and high-pass signals respectively. A category of communication signals to which this applies is called the narrowband signal model. A member of that category is amplitude modulation of a high-frequency sinusoidal "carrier":

u(t) = u_m(t) \cdot \cos(\omega t + \varphi),

where is the narrow bandwidth "message" waveform, such as voice or music. Then by Bedrosian's theorem:

\operatorname(u)(t) = \begin+u_m(t) \cdot \sin(\omega t + \varphi), & \omega > 0, \\-u_m(t) \cdot \sin(\omega t + \varphi), & \omega < 0.\end

Analytic representation

See main article: article and analytic signal. A specific type of conjugate function is:

u_a(t) \triangleq u(t) + i\cdot H(u)(t),

known as the analytic representation of

u(t).

The name reflects its mathematical tractability, due largely to Euler's formula. Applying Bedrosian's theorem to the narrowband model, the analytic representation is:

A Fourier transform property indicates that this complex heterodyne operation can shift all the negative frequency components of above 0 Hz. In that case, the imaginary part of the result is a Hilbert transform of the real part. This is an indirect way to produce Hilbert transforms.

Angle (phase/frequency) modulation

The form:

u(t) = A \cdot \cos(\omega t + \varphi_m(t))

is called angle modulation, which includes both phase modulation and frequency modulation. The instantaneous frequency is  

\omega+

\prime(t).
\varphi
m
  For sufficiently large, compared to

\operatorname(u)(t) \approx A \cdot \sin(\omega t + \varphi_m(t))and:u_a(t) \approx A \cdot e^.

Single sideband modulation (SSB)

See main article: article and Single-sideband modulation. When in  is also an analytic representation (of a message waveform), that is:

u_m(t) = m(t) + i \cdot \widehat(t)

the result is single-sideband modulation:

u_a(t) = (m(t) + i \cdot \widehat(t)) \cdot e^

whose transmitted component is:

\begin u(t) &= \operatorname\\\ &= m(t)\cdot \cos(\omega t + \varphi) - \widehat(t)\cdot \sin(\omega t + \varphi)\end

Causality

The function

h(t)=1/(\pit)

presents two causality-based challenges to practical implementation in a convolution (in addition to its undefined value at 0):

h(t-\tau),

is required. The corresponding output is subsequently delayed by

\tau.

When creating the imaginary part of an analytic signal, the source (real part) must also be delayed by

\tau

.

Discrete Hilbert transform

For a discrete function,

u[n],

with discrete-time Fourier transform (DTFT),

U(\omega)

, and discrete Hilbert transform

\widehatu[n],

the DTFT of

\widehatu[n]

in the region is given by:

\operatorname{DTFT}(\widehatu)=U(\omega)(-isgn(\omega)).

The inverse DTFT, using the convolution theorem, is:

\begin{align} \widehatu[n]&={\scriptstyleDTFT-1

} (U(\omega))\ *\ (-i\cdot \sgn(\omega))\\&= u[n]\ *\ \frac\int_^ (-i\cdot \sgn(\omega))\cdot e^ \,\mathrm\omega\\&= u[n]\ *\ \underbrace_,\end

where

h[n]\triangleq \begin{cases} 0,&forn\\

2
\pin

&fornodd, \end{cases}

which is an infinite impulse response (IIR).

Practical considerations

Method 1: Direct convolution of streaming

u[n]

data with an FIR approximation of

h[n],

which we will designate by

\tildeh[n].

Examples of truncated

h[n]

are shown in figures 1 and 2. Fig 1 has an odd number of anti-symmetric coefficients and is called Type III. This type inherently exhibits responses of zero magnitude at frequencies 0 and Nyquist, resulting in a bandpass filter shape. A Type IV design (even number of anti-symmetric coefficients) is shown in Fig 2. It has a highpass frequency response. Type III is the usual choice. for these reasons:

u[n]

sequence has no useful components at the Nyquist frequency.

\tfrac{1}{2}

sample shift in the

h[n]

sequence. That causes the zero-valued coefficients to become non-zero, as seen in Figure 2. So a Type III design is potentially twice as efficient as Type IV.

\widehatu[n]

with

u[n]

to create an analytic signal. The group delay of Type IV is halfway between two samples.The abrupt truncation of

h[n]

creates a rippling (Gibbs effect) of the flat frequency response. That can be mitigated by use of a window function to taper

\tildeh[n]

to zero.

Method 2: Piecewise convolution. It is well known that direct convolution is computationally much more intensive than methods like overlap-save that give access to the efficiencies of the Fast Fourier transform via the convolution theorem. Specifically, the discrete Fourier transform (DFT) of a segment of

u[n]

is multiplied pointwise with a DFT of the

\tildeh[n]

sequence. An inverse DFT is done on the product, and the transient artifacts at the leading and trailing edges of the segment are discarded. Over-lapping input segments prevent gaps in the output stream. An equivalent time domain description is that segments of length

N

(an arbitrary parameter) are convolved with the periodic function:

\tilde{h}N[n]\triangleq

infty
\sum
m=-infty

\tilde{h}[n-mN].

When the duration of non-zero values of

\tilde{h}[n]

is

M<N,

the output sequence includes

N-M+1

samples of

\widehatu.

 

M-1

outputs are discarded from each block of

N,

and the input blocks are overlapped by that amount to prevent gaps.

Method 3: Same as method 2, except the DFT of

\tilde{h}[n]

is replaced by samples of the

-i\operatorname{sgn}(\omega)

distribution (whose real and imaginary components are all just

0

or 

\pm1.

) That convolves

u[n]

with a periodic summation:

hN[n]\triangleq

infty
\sum
m=-infty

h[n-mN],

for some arbitrary parameter,

N.

h[n]

is not an FIR, so the edge effects extend throughout the entire transform. Deciding what to delete and the corresponding amount of overlap is an application-dependent design issue.

Fig 3 depicts the difference between methods 2 and 3. Only half of the antisymmetric impulse response is shown, and only the non-zero coefficients. The blue graph corresponds to method 2 where

h[n]

is truncated by a rectangular window function, rather than tapered. It is generated by a Matlab function, hilb(65). Its transient effects are exactly known and readily discarded. The frequency response, which is determined by the function argument, is the only application-dependent design issue.

The red graph is

h512[n],

corresponding to method 3. It is the inverse DFT of the

-i\operatorname{sgn}(\omega)

distribution. Specifically, it is the function that is convolved with a segment of

u[n]

by the MATLAB function, hilbert(u,512),[14] . The real part of the output sequence is the original input sequence, so that the complex output is an analytic representation of

u[n].

When the input is a segment of a pure cosine, the resulting convolution for two different values of

N

is depicted in Fig 4 (red and blue plots). Edge effects prevent the result from being a pure sine function (green plot). Since

hN[n]

is not an FIR sequence, the theoretical extent of the effects is the entire output sequence. But the differences from a sine function diminish with distance from the edges. Parameter

N

is the output sequence length. If it exceeds the length of the input sequence, the input is modified by appending zero-valued elements. In most cases, that reduces the magnitude of the edge distortions. But their duration is dominated by the inherent rise and fall times of the

h[n]

impulse response.

Fig 5 is an example of piecewise convolution, using both methods 2 (in blue) and 3 (red dots). A sine function is created by computing the Discrete Hilbert transform of a cosine function, which was processed in four overlapping segments, and pieced back together. As the FIR result (blue) shows, the distortions apparent in the IIR result (red) are not caused by the difference between

h[n]

and

hN[n]

(green and red in Fig 3). The fact that

hN[n]

is tapered (windowed) is actually helpful in this context. The real problem is that it's not windowed enough. Effectively,

M=N,

whereas the overlap-save method needs

M<N.

Number-theoretic Hilbert transform

The number theoretic Hilbert transform is an extension of the discrete Hilbert transform to integers modulo an appropriate prime number. In this it follows the generalization of discrete Fourier transform to number theoretic transforms. The number theoretic Hilbert transform can be used to generate sets of orthogonal discrete sequences.

See also

References

Further reading

External links