integration with matlab

How would I solve the following equation for ZV:
ZV = integral_{0}^{ZD}(z.*A)dz
where ZD = 40; z = [1:2:12];%depth A = [112,118,123,143,188,200];%area

1 个评论

check symbolic integration.....
read doc of int()
Sreenu

请先登录,再进行评论。

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2012-1-24

0 个投票

Check: cumtrapz, quad, and the whole quad-family of functions.
HTH,

类别

帮助中心File Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

标签

提问:

2012-1-24

Community Treasure Hunt

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

Start Hunting!

Translated by