Normalizing the Histogram Plotted

2 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by