How to simulate Markov Chain

Hello, Could you please help me in solving this problem. Suppose in the Land of Oz, there are 525 days in a year. I want to simulate the weather in Land of Oz dividing into rainy, nice, and snowy days. I saw in the literature, SimulateChain can do this. But I couldn't find any SimulateChain in Matlab. I am waiting for a reply.
Naima

回答(1 个)

Sean de Wolski
Sean de Wolski 2013-6-6

0 个投票

Sounds like you're looking for the hmm* functions. What does your data look like? Do you know your transition matrix or are you trying to figure it out from data?

1 个评论

R N S
R.5 .25 .25
N.5 0 .5
S.25 .25 .5
This is my transition matrix. Could you please help me now?

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by