MATLAB Function Reference Previous page   Next Page
sign

Signum function

Syntax

Description

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

For nonzero complex X, sign(X) = X./abs(X).

See Also

abs, conj, imag, real


Previous page  shrinkfaces sin Next page

© 1994-2005 The MathWorks, Inc.