
Summarizing Data
mu1 = mean(c1);
exp_pdf = @(t)(1/mu1)*exp(-t/mu1); % Integrates
%to1
t = 0:150;
y = exp_pdf(t);
plot(t,(hist_area)*y,'r','LineWidt h',2)
legend('Distribution','Exponential Fit')
Methods for fitting general parametric models to data distributions are
beyond the scope of this Getting Started guide. Functions for computing
maximum likelihood estimates of distribution parameters are available in
Statistics Toolbox.
See“DescriptiveStatistics”intheMATLAB Data Analysis documentation for
more information on summarizing data samples.
5-13
Komentarze do niniejszej Instrukcji