Converting data to a specified range

  • Thread starter Thread starter Ronni
  • Start date Start date
  • Tags Tags
    Data Range
AI Thread Summary
To convert data from a range of -50000 to 26214400 to a specified range of 0-10, first adjust the data by subtracting 50000, resulting in a new range of 0 to 26164400. Normalize this adjusted data by dividing each value by 26164400 to scale it to a range of 0-1. To further convert this to a range of 0-10, multiply the normalized values by 10. However, the original poster notes that the intervals for the conversion are irregular, which complicates the process. The discussion highlights the need for a method to handle these irregular intervals effectively.
Ronni
Messages
9
Reaction score
0
Hi,

I am trying to convert data to a particular range of 0-10.

Actual Data may vary from - 50000 - 26214400. I have broken this down into 4 parts as follows -

Code:
50000 - 1048576 -----> 0 - 2.5
1048577 - 5242880 -----> 2.6 - 5
5242881 - 15728640 ----->5.1 - 7.5
15728641 - 26214400 ----->7.6 - 10


How can i convert this data ? Is there any formula to do this? I found a way to normalize data to a range of [ 0 - 1 ] but am not able to apply the same to this.
 
Mathematics news on Phys.org
Your numbers range from 50000 to 26214400? (I'm no certain if that is a dash or a negative in front of the "5000".

First subtract 50000 from each of your numbers to get them between 0 and 26214400- 50000= 26164400.
If you now divide each of your numbers by 26164400 they will be between 0 and 1. Is that what you say you can do? To get them between 0 and 10, now multiply by 10 which is the same as having divided by 2616440 instead of 26164400.
 
That is a dash.
This converting of whole data to a range of 0-10 is ok but the intervals are irregular that's why i divided the data into the mentioned intervals.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top