i'm trying to use hmm tool box but i'm getting some error with the following code please help me out

O = 6;
Q = 6;
prior0 = normalise(rand(Q,1));
transmat0 = mk_stochastic(rand(Q,Q));
obsmat0 = mk_stochastic(rand(Q,O));
Undefined function 'mk_stochastic' for input arguments of type 'double'.

 Accepted Answer

mk_stochastic appears to be part of http://www.cs.ubc.ca/~murphyk/Software/HMM/hmm.html . You need to download that toolbox and install it and add the installation directory to your MATLAB path using pathtool

More Answers (1)

i downloaded the tool box and i'm using this path C:\Documents and Settings\temp\Desktop\avinash\sto\HMM\HMMall\HMM as my current folder still i'm getting the same error thanx for your reply @walter roberson

Categories

Community Treasure Hunt

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

Start Hunting!