필터 지우기
필터 지우기

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.
Matt J
Matt J 2022년 1월 30일
I have given you an idea. I told you you should consider eig() or null().

댓글을 달려면 로그인하십시오.

추가 답변 (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