[seq, states] = hmmgenerate(len, trans, emis)
hmmgenerate generates symbols and states from transition and emission probability matrices.
trans = [0.7 0.3; 0.4 0.6];
emis = [0.5 0.4 0.1; 0.1 0.3 0.6];
[seq, states] = hmmgenerate(10, trans, emis)
| Version | Description |
|---|---|
| 2.0.0 | initial version |