1% [H0, H1] = RAPFromMoments(moms, Nm)
3% Creates a rational arrival process that has the same
4% marginal and lag-1 joint moments as given (see [1]_).
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
12% Nm : matrix, shape (M,M)
13% The matrix of lag-1 joint moments.
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
24% There
is no guarantee that the returned matrices define
25% a valid stochastic process. The joint densities may be
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.
35function [H0, H1] = RAPFromMoments (moms, Nm)
37 H = MRAPFromMoments (moms, {Nm});