Forums > MaxMSP

scaling from logarythmic to linear

April 16, 2012 | 5:25 pm

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. –

April 16, 2012 | 7:04 pm

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.


April 16, 2012 | 11:26 pm

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


April 17, 2012 | 7:27 am

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


Viewing 4 posts - 1 through 4 (of 4 total)