LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
RAPFromMoments.m
1% [H0, H1] = RAPFromMoments(moms, Nm)
2%
3% Creates a rational arrival process that has the same
4% 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 rational process
19% H1 : matrix, shape (M,M)
20% The H1 matrix of the rational process
21%
22% Notes
23% -----
24% There is no guarantee that the returned matrices define
25% a valid stochastic process. The joint densities may be
26% negative.
27%
28% References
29% ----------
30% .. [1] G Horvath, M Telek, "A minimal representation of
31% Markov arrival processes and a moments matching
32% method," Performance Evaluation 64:(9-12) pp.
33% 1153-1168. (2007)
34
35function [H0, H1] = RAPFromMoments (moms, Nm)
36
37 H = MRAPFromMoments (moms, {Nm});
38 H0 = H{1};
39 H1 = H{2};
40end
41