1function MOMENTS = mmap_backward_moment(
MMAP,ORDERS,NORM)
2% Computes the theoretical backward moments of an
MMAP.
5% - ORDERS: vector with the orders of the moments to compute
6% - NORM: 0 (
default) to
return B_{i,c}: M_i = sum B_{i,c}
7% 1 to
return B_{i,c}: M_i = sum B_{i,c} * p_c
9% M_i
is the
class independent moment of order i
10% B_{i,c}
is the
class-c backward moment of order i
11% p_c
is the probability of arrivals of
class c
13% - MOMENTS: the backard moments as a matrix B(c,i) = B_{i,c}
15% by
default moments are normalized
24 MOMENTS = sym(zeros(C,K));
34 pa = sum(pie * (-
MMAP{1}\
MMAP{2+a}));
38 for h = 1:length(ORDERS)
41 MOMENTS(a,h) = fk/pa * sum(pie * M^(k+1) *
MMAP{2+a});