how to calculate the probability under a pdf curve and divide it into different sections (areas)?

8 views (last 30 days)
I have a few probability plots both pdf and cdf such as weibull or gaussian probabilities. the x axis is between some numbers. I divide the pdf plot into different parts (four parts). when how can i find the area underneath each of this sections? the some of all four sections should be 1.

Answers (1)

Udit Gupta
Udit Gupta on 2 Nov 2015
Assuming you have the curves as a matlab vector, you can use the trapz function to find area under it.

Community Treasure Hunt

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

Start Hunting!