How to simulate Markov Chain

2 visualizzazioni (ultimi 30 giorni)
Naima Naheed
Naima Naheed il 6 Giu 2013
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

Risposte (1)

Sean de Wolski
Sean de Wolski il 6 Giu 2013
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 Commento
Naima Naheed
Naima Naheed il 6 Giu 2013
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?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by