Please help. I am trying to find the area under the curve by using cumsum and cumtrapz but I am getting the wrong answer. I think there is an issue with the syntax of the input function and I am unable to figure it out.
MATLAB: How to find area under the curve with cumsum and cumtrapz
definite integrals
Best Answer