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"
5 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 3 Oct 2017
In both R2016a and R2017b, the message ID in quadgk is MATLAB:quadgk:MaxIntervalCountReached
Rik
on 3 Oct 2017
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?
Answers (0)
See Also
Categories
Find more on Signal Generation and Preprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!