01-16-2007 06:18 AM
02-20-2007 10:03 AM
02-20-2007 12:57 PM - edited 02-20-2007 12:57 PM
Your code is pretty incomprehensible to me. Lots of loops without any delays, lots of growing arrays in uninitialized shift register, no instructions on how to operate it.
Why don't you make it into a logical state machine with three states:
Most likley 2&3 can be combined so you see the fits while selecting the data.
Anyway, looking at the data, you seem to have an exponential with offset. The exponential fit you are using only includes amplitude and rate and is thus unsuitable for your purpose.
Can you explain how to operate your program?
Message Edited by altenbach on 02-20-2007 11:01 AM