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

 採用された回答

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

カテゴリ

ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by