How i choose the best solver ?
3 views (last 30 days)
Show older comments
How i choose the best solver for my simulink model and why i get different results if i use a different solver?
3 Comments
Walter Roberson
on 8 Nov 2011
It's true!
http://en.wikipedia.org/wiki/Dynamic_random-access_memory#Error_detection_and_correction
"The majority of one-off ("soft") errors in DRAM chips occur as a result of background radiation, chiefly neutrons from cosmic ray secondaries, which may change the contents of one or more memory cells or interfere with the circuitry used to read/write them."
and see also this New Scientist article: http://www.newscientist.com/blog/technology/2008/03/do-we-need-cosmic-ray-alerts-for.html
Accepted Answer
Fangjun Jiang
on 7 Nov 2011
2 Comments
Walter Roberson
on 7 Nov 2011
That link just explains what all the solvers are and shows that they use different formula. That link doesn't explain why the different formula may give different results, or why the ones that give different results are not considered buggy. How should one know which solver to use to get the "right" answer?
Now, heliostigmata: that maybe be all the explanation you really need!
Fangjun Jiang
on 7 Nov 2011
That link is the complete handbook for choosing a solver. It provides the explanation about all the solvers provided, how to deal with different problems, how to deal with discrete or continuous system, how to choose the tolerance, how to improve the simulation accuracy, etc.
Why do you get different results if using different solvers? That is a good question. I bet you can't draw the same line if using a pencil than using a paintbrush. The results are different because at least one of the tools is wrong. You should not care why the results are different. There is no point to compare the pencil with the paintbrush. You should care which solver could give you the most accurate result. For that, you need to follow the link, understand the solvers and understand the nature of your problem and then choose the best one.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!