File Exchange

image thumbnail

Multi-order State-transition Matrix

version 1.0 (2.29 KB) by

Construct a multi-order state-transition matrix.

1 Download

Updated

View License

Construct a multi-order state-transition matrix given a Markov chain (in integer).

Example:
markovChain = [1 6 1 6 4 4 4 3 1 2 2 3 4 5 4 5 2 6 2 6 2];
norder = 2;
[ transitionMatrix columnStates ] = getTransitionMatrix(markovChain,norder);

See the m file for more detail.

Comments and Ratings (1)

MATLAB Release
MATLAB 7 (R14)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video