Computing the Hilbert transform via Fourier transform

  • Thread starter hunt_mat
  • Start date
  • #1
hunt_mat
Homework Helper
1,741
25

Main Question or Discussion Point

I know the result: [tex]\widehat{H(f)}=i\textrm{sgn}\hspace{1mm}(k)\hat{f}[/tex]

I thought I could use fft, and ifft to compute the transform easily, is there a MATLAB command for sgn?

Mat
 

Answers and Replies

  • #2
188
1
Yes, sign!

sign
Signum function

Syntax
Y = sign(X)

Description
Y = sign(X) returns an array Y the same size as X, where each element of Y is:

1 if the corresponding element of X is greater than zero

0 if the corresponding element of X equals zero

-1 if the corresponding element of X is less than zero

For nonzero complex X, sign(X) = X./abs(X).
 
  • #3
hunt_mat
Homework Helper
1,741
25
Is it okay for computing the Hilbert transform?
 

Related Threads on Computing the Hilbert transform via Fourier transform

Replies
1
Views
825
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
7
Views
951
Replies
7
Views
2K
Replies
2
Views
1K
Replies
1
Views
20K
Replies
9
Views
8K
Replies
5
Views
10K
Replies
1
Views
5K
Top