필터 지우기
필터 지우기

Create Transition probability matrix

조회 수: 1 (최근 30일)
Hanane
Hanane 2014년 3월 14일
댓글: Hanane 2014년 3월 14일
Hello,
I have X1(1:n,1) and X2(1:n,1) two datas. how can I generate matrix transition probability matrix of these two datas. can you help me?
  댓글 수: 2
Walter Roberson
Walter Roberson 2014년 3월 14일
What is the relationship between the two? For example does X1(K) contain a starting node number and X2(K) contains the corresponding ending node number and you want to find the statistics of starting at X1(K) and ending at X2(K) (assuming that there might be repetitions and that for any given node X1(K) the destination node X2(K) will not necessarily always be the same) ?
Hanane
Hanane 2014년 3월 14일
hello
X1(:,1)=X2(:,1) is time X1(:,2)is motor speed X2(:,2)is motor torque

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

답변 (1개)

Matt J
Matt J 2014년 3월 14일
Hint:
accumarray([X1,X2],something)

카테고리

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