How to integate a graph?
Show older comments
I have function which is calculating displacement vs time . I want to integarte it. Can any one please help me how I make the function of integration in matlab?
1 Comment
Walter Roberson
on 24 Sep 2016
Please do not tag individuals.
Answers (1)
Star Strider
on 24 Sep 2016
0 votes
To integrate functions, use integrate and its friends (in earlier versions, quad and its friends). For data (vectors and 2D arrays) use trapz.
Categories
Find more on Numerical Integration and Differentiation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!