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'.

 채택된 답변

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

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

카테고리

도움말 센터File Exchange에서 Downloads에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by