How to get mesh used by integral function adaptive quadrature
Show older comments
I'm trying to get a better understanding of how the adaptive quadrature in the integral function works by analyzing the way it distributes points to conduct the numerical integral. I believe I have a decent understanding of how it works, but I would like to visualize the point distribution for various test functions to further my understanding. Is there a way to get the integral function, or similar, to output the x values at which it computes?
Accepted Answer
More Answers (1)
No.
If you define your function to be integrated in its own function routine, you could somehow save the x-values for which it is called. But I don't think that will give you an impression of the final mesh used to evaluate the integral.
Categories
Find more on Symbolic Math Toolbox 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!