sign (MATLAB Functions) MATLAB Function Reference sign Signum function Syntax Y = sign(X) Description Y = sign(X) returns an array the same size as , where each element of is: if the corresponding element of is greater than zero the corresponding
A location into which the result is stored. If provided, it must have
a shape that the inputs broadcast to. If not provided or None,
a freshly-allocated array is returned. A tuple (possible only as a
keyword argument) must have length equal