How can I integrate experimental data using a for loop?

조회 수: 1 (최근 30일)
Joe Willer
Joe Willer 2022년 1월 30일
답변: KSSV 2022년 1월 30일
Hello everyone.
I've been struggling with this problem for a quite long time.
I have a table of experimental data with two columns and around a thousand rows.
I plotted the table and got a discrete curve.
Now, I wanted to find the area under the curve using a for loop.
How can I do that? Any help is appreciated.
With kind regards
Joe

답변 (1개)

KSSV
KSSV 2022년 1월 30일
You need not to use a loop. Read about trapz.

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by