cum trapz

No.10841150 ViewReplyOriginalReport
> Q = cumtrapz(Y) computes the approximate cumulative integral of Y via the trapezoidal method with unit spacing. The size of Y determines the dimension to integrate along.

Gave me a right good giggle.