normalize a matrix in matlab code example Example: normalise 1 matrix matlab normA = A - min(A(:)) normA = normA ./ max(normA(:)) %