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

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)

Assuming you have the curves as a matlab vector, you can use the trapz function to find area under it.

Asked:

kas
on 2 Nov 2015

Commented:

on 5 May 2018

Community Treasure Hunt

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

Start Hunting!