Can I use simpson's 1/3 rule to calculate area under graph for imported data?

4 views (last 30 days)
Hi I have written a function (Composite Simpson's 1/3 rule) and I need to use the function to integrate to get the area under the curve by using two sets of data ( x-axis and y-axis). How do I do it? If so, then what should my function, and upper limit and lower limit be?
Thanks I'm new to matlab

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!