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

14 次查看(过去 30 天)
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]

采纳的回答

Matt J
Matt J 2022-1-30
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 个评论
Preeti Vashsiht
Preeti Vashsiht 2022-1-30
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Markov Chain Models 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by