简体   繁体   中英

Turning Normalized Int to Non-normalized Int That Doesnt Start At 0

So i have a normalized value on the range starts at 43200 to 64800. I am wondering how i take this normalized value and turn it back from its normalized state to a marginal state. I am not sure at all what the math would be. I know if it started at 0 it would just be the normalized value * maximum value, but not sure what it is for this circumstance.

To normalize: subtract 43200 from all values and divide them with 64800 - 43200 = 21600.

To change back: multiply each normalized value with 21600 and add 43200 to them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM