matrix similarity

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

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Creating 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