LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
mmap_pc.m
1function pc = mmap_pc(MMAP)
2% Computes the arrival probabilities of each class for the given MMAP.
3% Supports both numeric and symbolic MMAPs.
4
5m = length(MMAP)-2;
6
7if map_issym(MMAP)
8 pc = sym(zeros(m,1));
9else
10 pc = zeros(m,1);
11end
12
13for i = 1:m
14 pc(i) = sum(map_pie(MMAP) * (-MMAP{1}\MMAP{2+i}));
15end
16
17end