in reply to Re^6: Normalizing a range of numbers to a percentage
in thread Normalizing a range of numbers to a percentage
stevieb: pyrt's equation #XIII# is the key here.
I am probably labouring the point, but the process is to subtract the input min and divide by the input range to normalise into the interval 0,1, then rescale the result to the new range and shift it to the new minimum.
Another way of describing it is that it is four steps of shift, scale, rescale, and re-shift.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Normalizing a range of numbers to a percentage
by tybalt89 (Monsignor) on Mar 08, 2019 at 12:30 UTC |