LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map_lambda.m
1function 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
11p=map_prob(MAP);
12LAMBDA=p*MAP{2}*ones(size(MAP{2},2),1);
13end