Function Reference
— Function File: I = mat2gray (M,[min max])

Converts a matrix to a intensity image.