MATLAB Answers


how to do integration for the curve which is made by matlab according to the series?

Asked by vx2008
on 22 Aug 2014
Latest activity Answered by Star Strider
on 22 Aug 2014

Now I have an array A as below:

I can plot an curve according to the array A as below:

now I want to do integration for the curve, shall I? how?

thank you!



No products are associated with this question.

1 Answer

Answer by Star Strider
on 22 Aug 2014
 Accepted answer

Use the trapz function.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!