
5 Data Analysis
legend('Intersection 1',...
'Intersection 2',...
'Intersection 3')
Parametric models give analytic summaries of distribution shapes.
Exponential distributions, with parameter
mu given by the data mean, are a
good choice for the traffic data:
c1 = count(:,1); % Data at intersection 1
[bin_counts,bin_locations] = hist(c1);
bin_width = bin_locations(2) - bin_locations(1);
hist_area = (bin_width)*(sum(bin_c ount s));
figure
hist(c1)
hold on
5-12
Commenti su questo manuale