| Contents | Index |
c = sign(a)
c = sign(a) returns an array c the same size as a, where each element of c is
1 if the corresponding element of a is greater than zero
0 if the corresponding element of a is zero
-1 if the corresponding element of a is less than zero
The elements of c are of data type int8.
sign does not support complex fi inputs.

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |