divide area under Histogram

Hello,
I have the following histogram (normalised to maximum frequency) as shown:
How can I find the total area of the curve say area_tot from [-1 to +1] under the histogram and then only the areas from [-1 to -0.2] say area_1 and [+0.2 to +1] say area_2 ??
Please help.

Answers (1)

doc trapz

1 Comment

Yes, I have found the solution. But what is the correct way of normalising any histogram?
1) normalise by max. freq 2) normalise by total area 3) normalise by sum of freqs?
Please advice.

Sign in to comment.

Asked:

on 13 Aug 2012

Community Treasure Hunt

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

Start Hunting!