how to generate first order markov chain number sequence in matlab

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.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLogistics and Supply Chain についてさらに検索

質問済み:

2016 年 10 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by