Rescale
Usage
• Rescale[x, {min, max}] gives x rescaled to run from 0 to 1 over the range min to max. • Rescale[x, {min, max}, { , }] gives x rescaled to run from to over the range min to max.
Notes
• Rescale[list] rescales each element to run from 0 to 1 over the range Min[list] to Max[list]. • Rescale[x, {min, max}] is effectively equivalent to (x - min)/(max - min). • For exact numeric quantities, Rescale internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision. • New in Version 5.1.
|