Normalize values between 0 and 1, internal function only.

normalize(x)

Arguments

x

a matrix or vector

Value

returns a normalized matrix or vector