FUNCTION REFERENCE
uminus
Unary minus, the function form of -a.
Unary minus, the function form of -a.
Syntax
B = uminus(A)Evaluates -a with the operator's own rules.
Example
uminus([1 -2]) % [-1 2]Differences from MATLAB: same limits as the unary - operator.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.