How i choose the best solver ?
1 次查看(过去 30 天)
显示 更早的评论
How i choose the best solver for my simulink model and why i get different results if i use a different solver?
3 个评论
Walter Roberson
2011-11-8
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
采纳的回答
Fangjun Jiang
2011-11-7
2 个评论
Walter Roberson
2011-11-7
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
2011-11-7
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!