Normalizing the Histogram Plotted

2 views (last 30 days)
Gopalakrishnan venkatesan
Answered: Walter Roberson on 7 Aug 2015
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

Answers (1)

Walter Roberson
Walter Roberson on 7 Aug 2015
get the counts and locations, construct a spline, and then do a spline interpolation ?

Community Treasure Hunt

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

Start Hunting!