Distribution fit to a histgoram with unequal bins

2 views (last 30 days)
I have a histogram with specific frequencies for a range of values but do not have the raw data.
For example let us assume that the raw data is 1,2,3,4,5,6,7,8,9... but this data is not available to me and instead, I only have a histogram with specific bins of unequal length for example:
between 1 and 3 = 3 between 4 and 7 = 4 between 8 and 9 = 2
Now I want to check if a distribution fits my histogram and I am trying to use histfit() function but it only accepts the raw data. Is there any other way to tackle this problem?

Answers (0)

Community Treasure Hunt

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

Start Hunting!