Creating a uniform distribution from a data set?

I have a data set consisting of measurements from a satellite measuring snow depth. (Not uniform) I want to make a histogram similar to the ones from histfit(data,bins,'distribution') I don't want to just use the maximum and minimum values from the set, but get the best fit distribution I can. I'm beyond stuck so any help would be appreciated!

1 commentaire

A distribution or histogram representing a distribution is either uniform or it isn't! To my knowledge there are no "sort of" or "kind of" uniform distributions.

Connectez-vous pour commenter.

Réponses (1)

Rakesh Chavan
Rakesh Chavan le 26 Mai 2016

0 votes

Hi,
From your question, I think you want to get the distribution for your data. The link below gives a nice example explaining the same.
Hope this helps
-
Rakesh

Community Treasure Hunt

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

Start Hunting!

Translated by