|
From: | Steph Bredenhann |
Subject: | Re: nonlin_min function |
Date: | Wed, 8 Apr 2020 21:56:58 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 4/6/20 2:49 PM, Steph Bredenhann wrote:[...] The variables are as follows, and please note that the values after % for GPL_Do, etc are the values as calculated with Excel SOLVE function: [...]Dear Steph, I attached all necessary codes as m-files. Maybe there is a typo in your function "fn_BBR_GPL_RMSE()"? In short: Dcalc = D = D0 + D1*t.^m; SRE = (D-Dcalc)./D; In this case "SRE" is always zero, as "Dcalc = D" and no progress seems to happen. Furthermore "D" seems to be an input parameter of "fn_BBR_GPL_RMSE()", which is unused then. HTH, Kai
As you can see fsolve terminate with maximum iterations exceeded. Iterations reported = 75, however the fsolve default is 400 and although I increased MaxIter to 1000 the outcome stays the same. I assume the tolerances were met, but I still try to understand the tolerances, I work with defaults.
Any comments/improvements will be appreciated.
call_script.m
Description: Text Data
fn_BBR_GPL_RMSE.m
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |