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 Kommentar

KSSV
KSSV am 24 Jan. 2012
check symbolic integration.....
read doc of int()
Sreenu

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Bjorn Gustavsson
Bjorn Gustavsson am 24 Jan. 2012

0 Stimmen

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

Gefragt:

am 24 Jan. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by