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