10-03-2007 12:18 PM
03-31-2008 07:03 PM
@DSPGuy wrote:
The smallest change in the first parameter that registers is about 2.6. The finite difference VI within the Lev-Mar code was choosing a step-size of ~1E-4, yielding a partial derivative of zero at all X values. .
-Jim
04-01-2008 10:24 AM
04-01-2008 11:41 AM
Excellent idea Jim,
In general, you would just relay the desired step size via the data variant input.
Sometimes you might even want different step sizes for different parameters, so you could even provide an array of step sizes and autoindex it at your FOR loop inside the function call. It is great that the 8.0+ fitting routines allow all this flexibility!
An alternative to keep the scales reasonable is reparametrization. Instead of fitting for A, we could fit for A' = 10000*A or A'=0.00001*A. Similarly, if paramter B is typically between 15.0000001 and 15.0000002, we could fit for B'=10000000*(B-15). 🙂
04-01-2008 12:30 PM
04-01-2008 12:31 PM
@altenbach wrote:An alternative to keep the scales reasonable is reparametrization. Instead of fitting for A, we could fit for A' = 10000*A or A'=0.00001*A. Similarly, if paramter B is typically between 15.0000001 and 15.0000002, we could fit for B'=10000000*(B-15). 🙂
04-01-2008 01:32 PM
04-01-2008 01:38 PM
04-01-2008 01:55 PM
04-01-2008 02:00 PM