Azzera filtri
Azzera filtri

Using MATLAB Draw the state transition diagram and find the stationary distribution of the Markov chain whose transition matrix is given

14 visualizzazioni (ultimi 30 giorni)
Draw the state transition diagram and find the stationary distribution of the Markov chain whose transition matrix is
P=[0 1/4 3/4; 0 1/2 1/2; 2/5 2/5 1/5]

Risposta accettata

Matt J
Matt J il 30 Gen 2022
P=[0 1/4 3/4; 0 1/2 1/2; 2/5 2/5 1/5];
G=digraph(P);
plot(G,'EdgeLabel',G.Edges.Weight)
  5 Commenti
Preeti Vashsiht
Preeti Vashsiht il 30 Gen 2022
As you used different coding for plotting that figure but I used different one. I just wanted to have an idea about the remaining part. Please if possible tell me that one also.

Accedi per commentare.

Più risposte (0)

Tag

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by