NetLogo 7.0.0-beta2:

matrix:make-constant

matrix:make-constant n-rows n-cols initialValue

Reports a new n-rows by n-cols matrix object, with all entries in the matrix containing the same value (number).

Take me to the full Matrix Extension Dictionary