Info

此问题已关闭。 请重新打开它进行编辑或回答。

Fitting the most appropriate distribution to data

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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by