Why do I receive a "Singularity likely" warning when I use the QUAD function in MATLAB for a function that does not have a singularity?
Show older comments
For example when I execute the following command:
quad(@exp,0,30)
I receive the following warning message:
Warning: Maximum function count exceeded; singularity likely.
and I receive the following answer:
ans =
9.2156e+012
However, I am expecting the answer to be:
ans =
1.0686e+013
Accepted Answer
More Answers (0)
Categories
Find more on Error Handling 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!