Rescale
Rescale[x,{min,max}]
gives x rescaled to run from 0 to 1 over the range min to max.
Rescale[x,{min,max},{ymin,ymax}]
gives x rescaled to run from ymin to ymax over the range min to max.
Details

- 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.
- Rescale works with complex numbers and symbolic quantities.
Examples
open allclose allBasic Examples (3)
Scope (2)
Generalizations & Extensions (1)
Applications (1)
Properties & Relations (3)
See Also
Tutorials
Related Guides
Introduced in 2004
(5.1)