How to calculate the area of specific path under the curve?

1 次查看(过去 30 天)
Area wanted to calculate
this is the area i want to calculate
the code i used
>> i=[0:0.5:3.5];
>> l=18*sqrt(i);
>> plot (i,l)
>> grid on
>>

回答(2 个)

KSSV
KSSV 2022-1-22
Read about trapz.

Louis Alexander
Louis Alexander 2022-1-22
if your curve can be expressed as a function, you can choose
integralintegral2 or integral3

类别

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