Multi-order State-transition Matrix

Construct a multi-order state-transition matrix.

You are now following this Submission

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.

Cite As

pangyuteng (2026). Multi-order State-transition Matrix (https://www.mathworks.com/matlabcentral/fileexchange/37322-multi-order-state-transition-matrix), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0