uminus
Unary minus sign.
Syntax
R = uminus(x)
Inputs
- x
- Values that can be converted to double.
Outputs
- R
- The signed double result.
Example
Logical example.
R = uminus(true)
R = -1
Comments
uminus can be useful when importing non-numeric data that is to be converted to numeric.