[trans, emis] = hmmestimate(seq, states)
[trans, emis] = hmmestimate(seq, states, Name, Value)
hmmestimate estimates transition and emission probability matrices from a symbol sequence and known state path.
Name-value arguments include NStates, NSymbols, PseudoTransitions, and PseudoEmissions.
seq = [1 2 3 2 1];
states = [1 1 2 2 1];
[trans, emis] = hmmestimate(seq, states)
| Version | Description |
|---|---|
| 2.0.0 | initial version |