How to turn off the warning message which is "Warning: Reached the limit on the maximum number of intervals in use. Approximate bound on error is 4.8e-10. The integral may not exist, or it may be difficult to approximate numerically. Increase MaxIn"
7 次查看(过去 30 天)
显示 更早的评论
I have applied the warning('off','all'); for turning off the warning message which is "Warning: Reached the limit on the maximum number of intervals in use. Approximate bound on error is 4.2e-10. The integral may not exist, or it may be difficult to approximate numerically. Increase MaxIntervalCount to 770 to enable QUADGK to continue for another iteration.", in the Matlab 2016 and it works very well, but in 2017a it does not work and again and again this warning message is shown. I would be grateful if you could help me in this way.
2 个评论
Walter Roberson
2017-10-3
In both R2016a and R2017b, the message ID in quadgk is MATLAB:quadgk:MaxIntervalCountReached
Rik
2017-10-3
This syntax should still work (although of course it is better to use a specific message ID).
Can you provide a small piece of code that we can run that replicates this behavior?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Generation and Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!