I have two sets of data t and y. I want to find the cumulative y (area under the curve) after each point of t and want to plot t with cumulative y.
I tried trapz function. But trapz function gives the area at the last point of t, not at each point of t. Could you please help me to solve this problem?
Kind regards,
Dhina...
a hint:
help cumtrapz;
us
Thanks a lot, us!