0
$\begingroup$

I have this Function

y = (x - min) / (max - min)

which normalizes my values. Now i want to know how to denormalize them, how does the new function look like?

  • 0
    Is this question about the software [Wolfram Mathematica](http://wri.com)?2017-01-11
  • 1
    Oh no sorry, i took the wrong one :( i wanted this go to "Mathmatics"2017-01-11

1 Answers 1

0

Suppose the minimum is achieved at $x_1$ and the maximum at $x_2$. It is easy to write a linear interpolant: in fact, just use point-slope form:

$$ y - M = \frac{M - m}{x_2 - x_1} \left( x - x_2 \right) $$

and you have a function that returns the raw scores instead of the normalized values.

  • 0
    Thanks, but what is M / m?2017-01-11
  • 0
    Maximum and minimum, respectively.2017-01-11
  • 0
    Hm i didnt understand that, my point is, if i have an array of datas. and i want to to normalize the values of my array between 0 and 1. Example: the minimum value of my array has the value 2, and the maximum value of my array has the value 200, now i want to normalize a value 5: (5 - 2) / (200 - 2). My normalized value = 0,01515. what i want is, to get a function which makes out of my value 0,01515 the value 5.2017-01-11
  • 0
    This function above does the job. What you're looking for is an inverse function, which can be also found by taking your original function, interchanging $x$ and $y$, then solving for $y$ again.2017-01-11