uplus

Unary plus sign.

Syntax

R = uplus(x)

Inputs

x
Values that can be converted to double.
Type: double | integer | char | string | log
Dimension: scalar | string | vector | matrix

Outputs

R
The signed double result.

Example

Logical example.

R = uplus(true)
R = 1

Comments

uplus can be useful when importing non-numeric data that is to be converted to numeric.