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

2 次查看(过去 30 天)
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'.

采纳的回答

Walter Roberson
Walter Roberson 2013-10-7
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

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by