Integrating function of t over numerical values
Show older comments
Has anyone ever experienced the following errors when attempting to integrate a function handle with respect to a certain variable? I followed the commands used to calculate an integral, and found myself with the following problems. Any advice would be greatly appreciated!

Accepted Answer
More Answers (1)
Andrei Bobrov
on 21 Oct 2019
F = str2func(vectorize(FUN));
Q = integral(F,0,6);
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!