matrix similarity

How do you find similarity/accuracy between two matrices in percentage?

回答 (1 件)

Paulo Silva
Paulo Silva 2011 年 3 月 14 日

1 投票

mat1 and mat2 with the same size
100*numel(find(mat1==mat2))/numel(mat1)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

質問済み:

2011 年 3 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by