sequence of vectors for hmmestimate

i would like to use hmmestimate for the estimation of parameteres of the model but i have a sequence of vectors and tow states: ### a=[1 1 1 1 3];b=[1 1 1 2 3];c=[1 1 2 2 3];d=[1 2 2 2 3]; seq={a, b, c, d}; states={1,1,1,2}; [TRANS,EMIS] = hmmestimate(seq,states);
and i have this errors:
Error using cell/unique (line 85) Input A must be a cell array of strings.
Error in hmmestimate (line 67) uniqueSymbols = unique(seq);
Error in hmmbrouillon (line 19) [TRANS,EMIS] = hmmestimate(seq,states);

Réponses (0)

Catégories

En savoir plus sur Elementary Math dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by