Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Fitting the most appropriate distribution to data

1 vue (au cours des 30 derniers jours)
Hari krishnan
Hari krishnan le 16 Oct 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have data stored in the variable 'read_colony_observation_data_goodnest'. I am making a histogram of this data and trying to fit an exponential distribution to it. Rather than fitting one distribution, its giving me a series of fits. Any help will be appreciated.
all_recruitment_colony_data = 'control_recruitment_duration_combined.xlsx';
read_colony_observation_data_goodnest = xlsread(all_recruitment_colony_data);
histogram(read_colony_observation_data_goodnest,'Normalization','pdf');
xlabel('time (sec)')
ylabel('pdf')
hold on
pd = fitdist(read_colony_observation_data_goodnest,'Exponential');
y = pdf(pd,read_colony_observation_data_goodnest);
plot(read_colony_observation_data_goodnest);
Excel file of data is attached.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by