Effacer les filtres
Effacer les filtres

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

14 vues (au cours des 30 derniers jours)
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]

Réponse acceptée

Matt J
Matt J le 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 commentaires
Preeti Vashsiht
Preeti Vashsiht le 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.
Matt J
Matt J le 30 Jan 2022
I have given you an idea. I told you you should consider eig() or null().

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by