how to generate first order markov chain number sequence in matlab

2 vues (au cours des 30 derniers jours)
Jay Hanuman
Jay Hanuman le 18 Oct 2016
Suppose I have a sequence x=[5 6 1 6 4 1 2 4 6 6 1 6 6 3 5 1 3 6 5 6 4 1 6 6 5 5 5 3 4 2]. I want to generate markov chain from this sequence. I saw there are markov chain text generator for which input is word paragraph and it genrates markov chain. I want to generate first order markov chain number sequence with x as input. how to do this.

Réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by