LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
lib
kpctoolbox
map
map_lambda.m
1
function LAMBDA=map_lambda(MAP)
2
% LAMBDA=map_lambda(MAP) - Compute mean arrival rate
3
%
4
% Input:
5
% MAP: a MAP in the form of {D0,D1}
6
%
7
% Output:
8
% LAMBDA: mean arrival rate (1/mean inter-arrival time)
9
%
10
11
p=map_prob(MAP);
12
LAMBDA=p*MAP{2}*ones(size(MAP{2},2),1);
13
end
Generated by
1.9.8