When you can be sure that you have obtained the correct result?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Rick Rosson
el 22 de Jul. de 2011
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?
Respuesta aceptada
Doug Hull
el 22 de Jul. de 2011
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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!