integrate two vectors of data

6 次查看(过去 30 天)
omnia
omnia 2016-11-29
评论: KSSV 2016-11-29
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?!

采纳的回答

KSSV
KSSV 2016-11-29
doc trapz.
  3 个评论
omnia
omnia 2016-11-29
Never mind. You are right. I got my value now
KSSV
KSSV 2016-11-29
cool....you got it..

请先登录,再进行评论。

更多回答(0 个)

类别

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