integrate 2D data

54 views (last 30 days)
Tyler
Tyler on 21 Mar 2019
Answered: Star Strider on 21 Mar 2019
Hi,
I have a column vector X [Nx1], a Row Vector Y [1xM] and data Z [NxM] -> is there a way to integrate Z over the area defined by X,Y?
Thanks alot!

Answers (1)

Star Strider
Star Strider on 21 Mar 2019
Use trapz (link) or cumtrapz (linked to in that page).

Community Treasure Hunt

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

Start Hunting!