minus

Subtraction, - operator

Syntax

  • C = minus(A, B)

  • C = A - B

Input argument

  • A - a variable

  • B - a variable

Output argument

  • C - result of A - B

Description

C = minus(A, B) performs subtraction A - B variables.

Examples

minus(3, 4)
3 - 4
[1, 2] - 1
minus([1, 2], 1)
ones(0, 0) - 1

See also

plus, uminus.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated