Function Reference
— Function File: area = rectint (a, b)

Compute the area of intersection of rectangles in a and rectangles in b. Rectangles are defined as [x y width height] where x and y are the minimum values of the two orthogonal dimensions.

If a or b are matrices, then the output, area, is a matrix where the ith row corresponds to the ith row of a and the jth column corresponds to the jth row of b.

See also: polyarea