matrix similarity
显示 更早的评论
How do you find similarity/accuracy between two matrices in percentage?
回答(1 个)
Paulo Silva
2011-3-14
mat1 and mat2 with the same size
100*numel(find(mat1==mat2))/numel(mat1)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!