Info
This question is closed. Reopen it to edit or answer.
Fitting the most appropriate distribution to data
1 view (last 30 days)
Show older comments
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.
1 Comment
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!