Results 1 to 2 of 2

Math Help - Convert range of values to no linear range

  1. #1
    Newbie
    Joined
    Dec 2012
    From
    Switzerland
    Posts
    3

    Convert range of values to no linear range

    Hello, could someone help me for a software I'm programming? I need to send float values from 0 to 1 that must be translated in "real world" values. Here is the example:

    Freq (min and max):
    0.000003 -> 20 Hz
    0.5 -> 650.66 Hz
    0.999997 -> 21168 Hz

    Bandwidth (min and max):
    0.00791 -> 0.010 8va
    0.5 -> 2.007 8va
    0.99997 -> 8 8va

    As you can see, the scale is not linear. Does it exists a formula that can be used to convert the float value to the real one? Thanks.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Dec 2012
    From
    Switzerland
    Posts
    3

    Re: Convert range of values to no linear range

    OK, I have found the answer for Frequency:

    R = Range values
    F = Frequency values

    a = (Rmax - Rmin) / ( ln(Fmax) - ln(Fmin) )
    b = Rmin - a * ln(Fmin)
    R = a * ln(F) + b

    But it doesn't work for Bandwidth. It works only when applied to max and min values. Any idea?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Convert bearing range
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: March 8th 2012, 09:40 AM
  2. Replies: 1
    Last Post: June 1st 2011, 01:47 AM
  3. Range of values
    Posted in the Trigonometry Forum
    Replies: 1
    Last Post: September 14th 2010, 03:28 AM
  4. Range values
    Posted in the Math Topics Forum
    Replies: 1
    Last Post: November 6th 2008, 03:34 AM
  5. range of values
    Posted in the Pre-Calculus Forum
    Replies: 3
    Last Post: December 5th 2007, 07:21 AM

Search Tags


/mathhelpforum @mathhelpforum