Normalizing the Histogram Plotted

I have plotted the histogram for set of data using the command hist(data,50)
When I do it i am getting the histogram like this below
How can i normalize the above histogram like this below

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Ag. de 2015

0 votos

get the counts and locations, construct a spline, and then do a spline interpolation ?

Respondida:

el 7 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by