LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
m3pp_superpos_fitc_theoretical.m
1function [fit,m3pps] = m3pp_superpos_fitc_theoretical(MMAP, t, tinf)
2% Superposes k M3PP to fit the characteristics of a MMAP[k].
3% INPUT
4% - MMAP: process to fit
5% - t: finite time scale
6% - tinf: near-infinite time scale
7
8% number of classes
9m = size(MMAP,2)-2;
10
11% per-class rates
12av = mmap_count_mean(MMAP,1);
13
14% compute per-class IDC(t), IDC(inf)
15btv = mmap_count_idc(MMAP,t);
16binfv = mmap_count_idc(MMAP,tinf);
17
18% compute per-class third central moment
19mtv = mmap_count_moment(MMAP,t,1:3);
20m3tv = zeros(m,1);
21for i = 1:m
22 m3tv(i) = mtv(3,i) - 3*mtv(2,i)*mtv(1,i) + 2*mtv(1,i)^3;
23end
24
25% fit superposition
26[fit, m3pps] = m3pp_superpos_fitc(av, btv, binfv, m3tv, t, tinf);
27
28end