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

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 8 月 7 日

0 投票

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

カテゴリ

回答済み:

2015 年 8 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by