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);

Answers (0)

Categories

Find more on Elementary Math in Help Center and File Exchange

Asked:

on 23 May 2015

Community Treasure Hunt

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

Start Hunting!