integration with matlab

2 views (last 30 days)
Richard
Richard on 24 Jan 2012
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 Comment
KSSV
KSSV on 24 Jan 2012
check symbolic integration.....
read doc of int()
Sreenu

Sign in to comment.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 24 Jan 2012
Check: cumtrapz, quad, and the whole quad-family of functions.
HTH,

Community Treasure Hunt

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

Start Hunting!