Date: Nov 30, 2013 9:30 AM
Author: sun
Subject: compute a double integral over a pacth defined by discrete points(not<br> a function) using matlab

I would like to compute a double integral of a function z=x*y^2 over a non rectangle regio which is defined by points(x,y).I tried to use meshgrid and than trapz but when the region is not defined by a rectangle, but for example of a circle, or a kind of a leaf... the meshgrid places nodes out of the patch.
Thank you,