I have a binary sequence,how to calculate Gilbert-Elliott model probabilities in Matlab?
Show older comments
Hey, I have a very long sequence of 1's and 0's and I want to use hmmestimate to find the probabilities of the GE model. Can one show a simple example of how I can do it in Matlab?
I have checked the Matlab hmmestimate help page, but it didn't help, because I do not understand the meaning of 'states'. All I have is a binary sequence to start from, nothing else and I guess this sequence is the seq vector in the help page. Thanks!
Answers (3)
Walter Roberson
on 22 Feb 2013
Does every "0" correspond to one setting, and every "1" correspond to a different setting? Or are there combinations of 0's and 1's that, taken together, indicate the setting, such as (for example) 0 by itself indicating one setting, 10 indicating a second setting, and 11 indicating a third setting?
If there are only 2 settings then you have only two states, which you can give names to such as
hmmestimate(..., 'statenames', {'stop', 'go'});
Filip
on 22 Feb 2013
0 votes
1 Comment
Walter Roberson
on 22 Feb 2013
State 1: packet is not present. State 2: packet is present. "Came" or "lost" then map into those states. Two states, state numbers 1 and 2. 0 transits to state 1, 1 transits to state 2. hmm estimation should then have no trouble filling in the state transition probabilites.
Filip
on 22 Feb 2013
0 votes
Categories
Find more on Logical 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!