MATLAB Answers

Hidden Markov Model

15 ビュー (過去 30 日間)
B
B 2011 年 7 月 20 日
回答済み: Veera Kanmani 2018 年 4 月 20 日
Hello,
im trying to write an algorithm concerning the HMM. My matlab knowledge is limited so im overwhelmed by most of the hmm-toolboxes.
In my example i've got a 4 state system with a known Transition Matrix(4x4). The state probabilities are unknown (hidden markov... d'uh!). To get the probabilities of each state (P1,P2,P3,P4), i declare the first state probability with "P1=1" and my last State "P4=0" and calculate the others through my transition matrix.
But at the end my state probabilites should sum up to: P1+P2+P3+P4= 1
S2
S1 S4
S3
(S1 and S4 are not connected)
The algorithm is about the failure/repair-rate of a machine. So each State has at least 2 incoming and 2 outgoing variables. My TransitionMatrix looks like this then: T= (a11 a12 a13 a14; a21 a22 a23 a24; a31 a32 a33 a34; a41 a42 a43 a44)
a11= -(a12+a13+a14); a22 = -( a21+ a23 +a24); a33= ... etc so that the sum of each row equals zero.
AS you can (not-)see i dont have any code yet, but i would really appreciate some help/hints, how to realise it. Thank You!
  1 件のコメント
B
B 2011 年 7 月 21 日
The code provided in this link, helped me a lot:
http://www.mathworks.se/matlabcentral/newsreader/view_thread/309282

サインインしてコメントする。

回答 (1 件)

Veera Kanmani
Veera Kanmani 2018 年 4 月 20 日
https://in.mathworks.com/matlabcentral/fileexchange/55866-hidden-markov-model-toolbox--hmm-

Community Treasure Hunt

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

Start Hunting!

Translated by