NetLogo 7.0.0-beta2:

matrix:minus

matrix:minus m1 m2 matrix:minus m1 m2 ...

Reports a matrix, which is the result of subtracting all arguments besides m1 from m1. Scalar arguments are treated as matrices of the same size as the matrix arguments with every element equal to that scalar. Without parentheses, it takes two arguments. With parentheses it takes two or more. The arguments may either be numbers or matrices, but at least one must be a matrix.

Take me to the full Matrix Extension Dictionary