why minerr() cannot work ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
why minerr() cannot work ?
I wanna estimate k0, n, and k in the ODEs, but cannot let Minerr() run in my calculating sheet.
but flexPDE can give a reasonable answer
see the attached picture:
Solved! Go to Solution.
- Labels:
-
Statistics_Analysis
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Main error was that the interval for odesolve was just up to 1000, but one of the values in tau.exp which you then feed into the resulting functions was 1500.
Minor errors are a typo in the variable name tau.exp (extra period at the and of the name) and the definition of the range t which should be tau.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Main error was that the interval for odesolve was just up to 1000, but one of the values in tau.exp which you then feed into the resulting functions was 1500.
Minor errors are a typo in the variable name tau.exp (extra period at the and of the name) and the definition of the range t which should be tau.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much, esp. my "minor" error you pointed out!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
...And in Given/Odesolve block must be C.A(tau)^n but not C.A(tau)^2.
See in attached file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Viktor Korobov wrote:
...And in Given/Odesolve block must be C.A(tau)^n but not C.A(tau)^2.
See in attached file.
Well spotted! That was the reason for the unsatisfactoy fit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oh, yeah, I mis-typed the reaction order, that's why the optimized reaction order is equal to inintial guess, I made so many mistakes in the calculation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Fan CG wrote:
Oh, yeah, I mis-typed the reaction order, that's why the optimized reaction order is equal to inintial guess, I made so many mistakes in the calculation
As long as you learn from them
