Re: logarithmic scale starting with 0
- From: "hagman" <google@xxxxxxxxxxxxx>
- Date: 20 Jan 2007 03:36:24 -0800
different schrieb:
I'm trying to interpolate between to numbers using the logarithm
function.
I divided the inteval between the numbers in 20 parts and use the
equation in:
http://www.mpip-mainz.mpg.de/~deserno/science_notes/log_interpol/log_...
to compute the value at each step.
My problem is that my interval begins with 0.
I've already been suggested to shift the graph by 1. In this way the
equation becomes:
x = (x2 + 1)^f * (x1+1)^(1-f) - 1
But it doesn't work. If I use log10 on the interval [0;100] and f, the
position of the point of which I need the interpolated value, is 1/2 x
should be 10, but the equation gives another number.
Any suggestions?
If your values really include 0, what makes you think it is a good idea
to use logarithmic interpolation?
.
- References:
- logarithmic scale starting with 0
- From: different
- logarithmic scale starting with 0
- Prev by Date: Re: Surface,which is not second countable
- Next by Date: Re: Q1*Q2*Q3*........*Qn is called ?
- Previous by thread: Re: logarithmic scale starting with 0
- Next by thread: Re: logarithmic scale starting with 0
- Index(es):