Question: Write a Matlab simulator that can randomly generate sequences of 'dessert' from this state transition function. Given: Three options of dessert every day, type today

Write a Matlab simulator that can randomly generate sequences of 'dessert' from this state transition function.

Given:

Three options of dessert every day, type today impacts type tomorrow.

Sundae Cake Raisins <---- Tomorrow we have

Sundae .8 .2 0

Cake .4 .4 .2

Raisins .2 .6 .2

^Today we have

This table shows probabilities!

Use this simulator to determine the stationary distribution of this Markov chain. The stationary distribution measures the probability that a random day will have sundae, cake, or raisins.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!