How to find area under curve

1视图(最近30天)
jjxc
jjxc on 8 Oct 2021
Commented: jjxcon 8 Oct 2021
I imported a set of data into matlab and have plotted the curve. However, I do not know how to use trapz to find the area under the curve.

Accepted Answer

the cyclist
the cyclist on 8 Oct 2021
I did not open your text file, but assuming you got that plot using
plot(x,y)
那应该像
trapz(x,y)
3 Comments
jjxc
jjxc on 8 Oct 2021
oh okay i can understand the steps. Thank you for the help.

Sign in to comment.

More Answers (0)

Tags

下载188bet金宝搏


发布

R2019b

Community Treasure Hunt

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

Start Hunting!