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

3 views (last 30 days)
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

Walter Roberson
Walter Roberson on 7 Oct 2013
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)

avinash pabbireddy
avinash pabbireddy on 10 Oct 2013
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

Find more on Get Started with MATLAB 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!