When you can be sure that you have obtained the correct result?
2 次查看(过去 30 天)
显示 更早的评论
I have a problem which has been solved with a set of start points,but when I changed the startpoints,the result also changed and sometimes can not converge at all.And the bounds affect the result,too.In my problem two parameters must positive but can not be zero.So I set the lower bounds of the 2 parameters to 0.001 or 0.01.But those different settings can obtain very different results which confuse me a lot.
So I want to know how do you judge that you have obtained the right appropriate result?
2 个评论
Rick Rosson
2011-7-22
What type of problem are you solving? What toolboxes are you using? Can you post your MATLAB code so that we can try to reproduce the same issue and diagnose what is happening?
采纳的回答
Doug Hull
2011-7-22
If you are solving a problem, you should be able to come up with a few test cases that will give you expected answers. If you would not know the right answer for a set of inputs, or at least a reasonable answer, then you might have bigger problems.
If you do not know the right answer, would you know how the answer should change as you vary your inputs? Can you gain confidence as you change them?
This is the art of engineering.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!