integration with matlab
2 views (last 30 days)
Show older comments
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
Answers (1)
Bjorn Gustavsson
on 24 Jan 2012
Check: cumtrapz, quad, and the whole quad-family of functions.
HTH,
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!