Info

This question is closed. Reopen it to edit or answer.

Trapezoidal integration without trapz function

1 view (last 30 days)
sam meyers
sam meyers on 21 Sep 2016
Closed: Walter Roberson on 23 Nov 2019
Hi, I have many data points that make a curve and I want to find the area under the curve using the trapezoidal integration rule but without using the trapz function matlab has. Can you please help me.
  1 Comment
John D'Errico
John D'Errico on 21 Sep 2016
Why is it a problem if you use trapz or not? If it is, then this must be homework. But you need to do your homework. That is why it was assigned to you, not to us.

Answers (0)

Community Treasure Hunt

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

Start Hunting!