integration of samples

2 views (last 30 days)
oblivious
oblivious on 24 Jun 2012
Hello,
I have a sampled data and the sampling frequency is known. Is there any function that can find the area under the implicit continuous curve? MATLAB function quad (to integrate) require the equation of the curve i suppose.
-obli

Answers (1)

Andrei Bobrov
Andrei Bobrov on 24 Jun 2012
Try function trapz
  1 Comment
oblivious
oblivious on 25 Jun 2012
trapezoidal method is less accurate. Is there any function that uses other sophisticated models?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!