Tolerance, correct digits
显示 更早的评论
i have a code where i have aa while loop and the condition is that the diffrence between two variables is bigger than the tolerence.
If the tolerane is 5E5 what does it actually means ? this has to do with correct digits. It is a numerical method question.
回答(2 个)
M
2020-5-12
0 个投票
If the tolerane is 5E5 what does it actually means ?
It depends...
Can you provide the code ?
And a little context so that we can help you ?
Akihumi
2020-5-12
0 个投票
You can try to type that in Command Window and you might have your answer right there :)
4 个评论
mohamed hassan
2020-5-12
Akihumi
2020-5-12
Well, I think xEy means 
mohamed hassan
2020-5-12
Akihumi
2020-5-12
I see... but what is the purpose of the while loop and how do you decide the equations in that? For example, why a = a*6/(k+1); ?
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!