exponential regression?
I am controlling some DC motors using pulse width and BASIC Stamp 2's. I somehow need to model an exponentially increasing slope in an equation, but BS2's do not support exponents as far as I can tell. Does anyone have any suggestions as to possible work arounds? Sorry if this is too vague. What other information would you need to help me out?

Comments
' {$STAMP BS2} ' {$PBASIC 2.5} x VAR Word i VAR Byte x = 100 FOR i = 1 TO 50 DEBUG DEC5 x, " " IF (i // 10 = 0) THEN DEBUG CR x = x */ 282 NEXTThis multiplies x by approximately 1.1 (282 / 256 = 1.1015625) at each step, resulting in an exponential progression. Here's what the output looks like:
-Phil
Application No. 7 of this Parallax application note may help.
http://www.parallax.com/Portals/0/Downloads/appnt/stamps/bs1Appnotes.pdf
It demonstrates how to straighten a non-linear curve.
If you plot your values in Micro Soft Xcel, XY scatter, there is an option to plot·the best fit equation·using plot wizard. I am unaware if "GAUSFIT" is still supported by Parallax. MSXcel will do the same thing. Remember to keep your math at 16 bits or less.
SJW