scaling from logarythmic to linear

ćwiek's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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!

big_pause's icon

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.

Floating Point's icon

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

big_pause's icon

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