フィルターのクリア

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 Center および File ExchangeMarkov Chain Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by