sequence of vectors for hmmestimate

1 view (last 30 days)
ainos didou
ainos didou on 23 May 2015
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 External Language Interfaces in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!