What does the warning "Integrand function outputs did not match to the required tolerance" mean?

5 views (last 30 days)
I was performing a double integral via integral2 and set RelTol = 1e-8 AbsTol=1e-10, the waring
"Integrand function outputs did not match to the required tolerance when the same input values were
supplied in two separate calls with different size input matrices. " is encountered.
it is a warning, does it mean the result is inaccurate?
(on Linux)

Answers (1)

Walter Roberson
Walter Roberson on 9 Aug 2022
Yes, it does mean the value is inaccurate. It means that the value is probably meaningless.
You probably used / or * instead of ./ or .* at some point. Or perhaps a ^ where you need .^

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!