integrate two vectors of data

6 views (last 30 days)
omnia
omnia on 29 Nov 2016
Commented: KSSV on 29 Nov 2016
Hi all
I have two vectors of data. They are the same length. I want to multiply them and integrate over a distance. How can I do this in MATLAB?
I saw many people asking the same question and no answer. Does it mean it cannot be done in MATLAB?!

Accepted Answer

KSSV
KSSV on 29 Nov 2016
doc trapz.
  3 Comments
omnia
omnia on 29 Nov 2016
Never mind. You are right. I got my value now
KSSV
KSSV on 29 Nov 2016
cool....you got it..

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!