Filter löschen
Filter löschen

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

14 Ansichten (letzte 30 Tage)
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]

Akzeptierte Antwort

Matt J
Matt J am 30 Jan. 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 Kommentare
Preeti Vashsiht
Preeti Vashsiht am 30 Jan. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by