MATLAB希尔伯特变换
这里暂不分析希尔伯特变换的原理,简述一下在MATLAB中怎么做希尔伯特变换
MATLAB中做信号希尔伯特变换有两条命令
x = hilbert(xr)
x = hilbert(xr,n)
Description
example
x = hilbert(xr) returns the analytic signal, x, from a real data sequence, xr. If xr is a matrix, then hilbert finds the analytic signal corresponding to each column.
x = hilbert(xr,n) uses an n-point fast Fourier transform (FFT) to compute the Hilbert transform. The input data is zero-padded or truncated to length n, as appropriate.
The imaginary part of x is the Hilbert transform of xr, and the real part is xr itself.
以常用的第一种为例,x = hilbert(xr)
是对信号xr
做希尔伯特变换,返回的是一个解析信号x
,x
实部是xr
本身,虚部是xr
的希尔伯特变换。