1% [H0, H1] = DRAPFromMoments(moms, Nm)
3% Creates a discrete rational arrival process that has the
4% same 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 discrete rational process
19% H1 : matrix, shape (M,M)
20% The H1 matrix of the discrete rational process
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.
29function [H0,H1] = DRAPFromMoments(moms, Nm)
31 H = DMRAPFromMoments (moms, {Nm});