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.

Respuestas (1)

Sean de Wolski
Sean de Wolski el 13 de Ag. de 2012

0 votos

doc trapz

1 comentario

zozo
zozo el 13 de Ag. de 2012
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.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 13 de Ag. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by