hunt_mat Homework Helper Messages 1,816 Reaction score 33 Thread starter Jan 21, 2013 #1 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
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
NemoReally Messages 188 Reaction score 1 Jan 21, 2013 #2 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).
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).
hunt_mat Homework Helper Messages 1,816 Reaction score 33 Jan 21, 2013 #3 Is it okay for computing the Hilbert transform?