LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
lib
kpctoolbox
mmpp
mmpp2_fitc_theoretical.m
1
function [fit] = mmpp2_fitc_theoretical(
map
,t1,t2,tinf)
2
% Fits the theoretical characteristics of a MAP(n) with a MMPP(2).
3
if nargin<4
4
t1 = 1;
5
t2 = 10;
6
tinf = 1e8;
7
end
8
9
% joint-process charactersitics
10
a = map_count_mean(
map
,t1)/t1;
11
bt1 = map_count_var(
map
,t1)/(a*t1);
12
bt2 = map_count_var(
map
,t2)/(a*t2);
13
binf = map_count_var(
map
,tinf)/(a*tinf);
14
mt2 = map_count_moment(
map
,t2,1:3);
15
m3t2 = mt2(3) - 3*mt2(2)*mt2(1) + 2*mt2(1)^3;
16
17
fit = mmpp2_fitc(a, bt1, bt2, binf, m3t2, t1, t2);
map
Definition
mamap22_fit_bs_multiclass.m:18
Generated by
1.9.8