필터 지우기
필터 지우기

Question from Markov chain

조회 수: 1 (최근 30일)
Shashibhushan Sharma
Shashibhushan Sharma 2018년 10월 18일
댓글: John D'Errico 2018년 10월 18일
I know the probability of each current state (states A or B) and also know the transition probability to shift the state from A to B. Now, what will be the next state, if the current state is either A or B? I want to code in MATLAB to know the next state. How to code it? Please, someone, help me.
Let The P(A)=0.7;P(B)=0.3;P(A/A)=0.8;P(B/A)=0.2;P(B/B)=0.7;P(A/B)=0.3
  댓글 수: 3
Shashibhushan Sharma
Shashibhushan Sharma 2018년 10월 18일
편집: Shashibhushan Sharma 2018년 10월 18일
Ok P(A)=0.7;P(B)=0.3; I will try.
John D'Errico
John D'Errico 2018년 10월 18일
The transition is given by a matrix multiply. Create the vector
PAB = [.7 .3]

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Markov Chain Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by