How to simulate Markov Chain

8 vues (au cours des 30 derniers jours)
Naima Naheed
Naima Naheed le 6 Juin 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

Réponses (1)

Sean de Wolski
Sean de Wolski le 6 Juin 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 commentaire
Naima Naheed
Naima Naheed le 6 Juin 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?

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by