scaling from logarythmic to linear

Apr 16, 2012 at 5:25pm

scaling from logarythmic to linear

hi!
i found a lot of examples in forum dealing with similar problems, but i cant get non of them working…
I am going, to convert readings from voltage follower conected to arduino, and i have make a kind of simulation.
thanks for advice!

– Pasted Max Patch, click to expand. –
#63015
Apr 16, 2012 at 7:04pm

Unless I’m missing something, surely you just need to rearrange the equation (patch) on the left to give R in terms of the output.

#227430
Apr 16, 2012 at 11:26pm

the mapping you’ve got is of the form K=K/x-K/y which does not have an inverse (or more accurately it’s inverse is itself), so I don’t think you can remap to a straight line (mathematically not possible).

Someone correct me if I’m mistaken

#227431
Apr 17, 2012 at 7:27am

On the left we have essentially,

y = U*x/(x + r1)

rearranging this gives

x = r1/(U/y – 1)

Again, unless I’m missing something here

#227432

You must be logged in to reply to this topic.