[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/elfun]

sign

(/tools/hpmatlab/toolbox/matlab/elfun/sign.m)


Help text

SIGN	Signum function.
	For each element of X, SIGN(X) returns 1 if the element
	is greater than zero, 0 if it equals zero and -1 if it is
	less than zero.  For complex X, SIGN(X) = X ./ ABS(X). 

Cross-Reference Information

This is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON