How can I integrate several functions in a single call to the QUAD or QUADL functions?
Show older comments
I would like to integrate the functions "f1(t)", "f2(t)", and "f3(t)" each over the interval "t = (0, 1)" using the QUAD function.
f1.m, f2.m, and f3.m over the same interval. Can I write a function that returns a 3-by-n matrix, whose first, second, and third rows are the values of "f1", "f2", and "f3", respectivelys and pass this function to QUADL?
Accepted Answer
More Answers (0)
Categories
Find more on Numerical Integration and Differentiation 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!