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 Commento

KSSV
KSSV il 24 Gen 2012
check symbolic integration.....
read doc of int()
Sreenu

Accedi per commentare.

Risposte (1)

Bjorn Gustavsson
Bjorn Gustavsson il 24 Gen 2012

0 voti

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

Richiesto:

il 24 Gen 2012

Community Treasure Hunt

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

Start Hunting!

Translated by