Y = sign(X)
Y
X
sign(X) = X./abs(X)
abs, conj, imag, real
abs
conj
imag
real
(c) Copyright 1994 by The MathWorks, Inc.