Normalize array to a given range
N = normal(M, upper, lower)
Function normal normalizes a matrix M to occupy lowerupper range. The intent of this function is to be a shortcut to a simple but often used operation.
N = normal(M) normalizes N to 0-1 range.
N = normal(M,upper) normalizes N to 0-upper range.
N = normal(M,upper,lower) normalizes N to lower-upper range.
http://siptoolbox.sourceforge.net