I'm looking for a matlab command that integrates a known function inside a triangle (which is known by his nodes).
I have 3 coordinates (x1,y1) (x2,y2) (x3,y3) that define a triangle and I know that inside the triangle there exist a known function f(x,y). I'm looking for a command that computes the integral of f over the triangle.