Trapezoidal integration without trapz function

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 comentario

John D'Errico
John D'Errico el 21 de Sept. de 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.

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 21 de Sept. de 2016

Cerrada:

el 23 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by