htrans
Hilbert transform
Description
uses the independent variable H
= htrans(f
,var
,transVar
)var
and the transformation variable
transVar
instead of t
and x
, respectively.
If all input arguments are arrays of the same size, then
htrans
acts element-wise.If one input is a scalar and the others are arrays of the same size, then
htrans
expands the scalar into an array of the same size.If
f
is an array of symbolic expressions with different independent variables, thenvar
must be a symbolic array with elements corresponding to the independent variables.
Examples
Input Arguments
Output Arguments
More About
Tips
To compute the inverse Hilbert transform, use
ihtrans
. The Hilbert transform of a function is equal to the negative of its inverse Hilbert transform.For a signal in the time domain, the Hilbert transform applies a –90-degree phase shift to positive frequencies of the corresponding Fourier components. It also applies a 90-degree phase shift to negative frequencies.
For a real-valued signal
a
, the Hilbert transformb = htrans(a)
returns its harmonic conjugateb
. The real signala = real(z)
and its Hilbert transformb = imag(z)
form the analytic signalz = a + 1i*b
.
Version History
Introduced in R2019a