フィルターのクリア

What does fidelity mean?

4 ビュー (過去 30 日間)
Student new
Student new 2016 年 2 月 17 日
コメント済み: Walter Roberson 2016 年 2 月 17 日
Can some body explain the following formula?

採用された回答

Walter Roberson
Walter Roberson 2016 年 2 月 17 日
%mu says whether the E values bear the same relationship to each other that the M values do
mu(i,j) = sign( E(D(i)) - E(D(j)) ) == sign( M(D(i)) - M(D(j)) )
However, we do not have enough information about the meaning of E or M to fully optimize the computation. I suspect it might be possible to do all of the comparisons at the same time over an array, zero the diagonal, sum the result, divide by n*(n-1), multiply by 100 -- the 2 would cancel in such an implementation, I think.
mu = sign(bsxfun(@minus, E(:), E(:).')) == sign(bsxfun(@minus, M(:), M(:).'));
n = size(mu,1);
mu(1:n+1:end) = 0; %zero diagonal
F = 100 * sum(mu(:)) / (n*(n+1));
  2 件のコメント
Student new
Student new 2016 年 2 月 17 日
編集済み: Student new 2016 年 2 月 17 日
Sorry i forgot to mention. E is estimated and M is measured value. D is set of implementation. I was looking for a theoratical explanation but could not find one. Thanks again.
Walter Roberson
Walter Roberson 2016 年 2 月 17 日
Well theoretical explanations are not suitable topics for MATLAB Answers, which is about MATLAB, so here you get an implementation or you get your question closed as being off topic.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeOperating on Diagonal Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by