How to avoid negative intermediate guess in nlmefit
Show older comments
Hello everyone,
when I use nlmefit, it always comes up with some negative guess after a few iterations, these negative values crash my ODE solver. Is there a way to avoid this?
The easiest way I can think of is to set lower bound for fitted parameters, however, I cannot figure out how to do that with nlmefit.
Thank you!
Rui
Accepted Answer
More Answers (0)
Categories
Find more on Online Parameter Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!