Error in quad function-maximum function count exceeded
Show older comments
Hi all, i need help using the quad function.
function y = myfun(x) y = exp(b*z)*exp((6*a.^2-i*k*w.^2*z)/(z.^2+a.^2))./(a+i*z);
>> F = @(z) exp(b*z)*exp((6*a.^2-i*k*w.^2*z)/(z.^2+a.^2))./(a+i*z); Q = quad(F,0,2); Warning: Maximum function count exceeded; singularity likely. > In quad at 106
Anyone know what the warning means?? Thank you..
Accepted Answer
More Answers (0)
Categories
Find more on Data Types 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!