logarithmic scale interpolation

I have a program which reads a file containing integer values between 0 and 10. I already use a linear mapping which takes this values and maps them in a different range.
Now I want to map the values using a logarithmic scale.
For example I want to map from [0;10] to [0.2;5] and values have to grow following the logarithmic scale.
I can I do that


Answer this question

logarithmic scale interpolation

  • sxzhan

    Unless your question is in the context of a specific piece of VC++ Express, this is a problem in algebra. Have you tried logarithms, function mapping, and function scaling in Wikipedia (www.wikipedia.org)

  • Arpit Arora

    Hello

    Re: logarithmic scale interpolation

    As Lou Arnold says, this forum is for “Questions about Visual C++ Express Edition and getting started with C++.”

    You need a good algorithm book or resource to answer your question.

    OTP

    Thanks

    Damien



  • logarithmic scale interpolation