LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
DRAPFromMoments.m
1% [H0, H1] = DRAPFromMoments(moms, Nm)
2%
3% Creates a discrete rational arrival process that has the
4% same marginal and lag-1 joint moments as given (see [1]_).
5%
6% Parameters
7% ----------
8% moms : vector of doubles
9% The list of marginal moments. To obtain a rational
10% process of order M, 2*M-1 marginal moments are
11% required.
12% Nm : matrix, shape (M,M)
13% The matrix of lag-1 joint moments.
14%
15% Returns
16% -------
17% H0 : matrix, shape (M,M)
18% The H0 matrix of the discrete rational process
19% H1 : matrix, shape (M,M)
20% The H1 matrix of the discrete rational process
21%
22% References
23% ----------
24% .. [1] G Horvath, M Telek, "A minimal representation of
25% Markov arrival processes and a moments matching
26% method," Performance Evaluation 64:(9-12) pp.
27% 1153-1168. (2007)
28
29function [H0,H1] = DRAPFromMoments(moms, Nm)
30
31 H = DMRAPFromMoments (moms, {Nm});
32 H0 = H{1};
33 H1 = H{2};
34end