Keystroke: [−]
x − y
Subtracts y from x.
If an expression is so long that it scrolls off the right of the screen, you may prefer to negate the y and use the addition with linebreak operator instead.
Operands:
- x and y are scalars or arrays having the same dimensions. If both x and y are arrays, they must have the same number of rows and columns. If x is an array and y is a scalar, then x − y is an array formed by subtracting y from every element in x.