sign - sign function
X=sign(A) returns the matrix made of the signs of A(i,j).For complex A, sign(A) = A./abs(A). function.
sign(rand(2,3)) sign(1+%i)