What is the interpretation of trapz(x,cumtrapz(x,y))?

2 views (last 30 days)
x = (-12:12);
y = zeros(1,numel(x));
y(12:14) = 0.33;
z = trapz(x,cumtrapz(x,y));
edit: Alternatively what does the integral of a cumulative integral mean?

Accepted Answer

Walter Roberson
Walter Roberson on 3 Nov 2017
It would effectively be a double integration over the same domain

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!