MATLAB: I want to calculate the area under 3d curve? how can i do it

area under curvepdftrapz

honestly I have pdf plot which has x and y and by histogram2 I plot it. but now I want to calculate the area under it? how can I do it

Best Answer

Its a 2 D Plot
Use trapz function
There are multiples answers please check here
Simmilar question answer here area of histogram check here
Related Question