matrix similarity

4 views (last 30 days)
csckid
csckid on 14 Mar 2011
How do you find similarity/accuracy between two matrices in percentage?

Answers (1)

Paulo Silva
Paulo Silva on 14 Mar 2011
mat1 and mat2 with the same size
100*numel(find(mat1==mat2))/numel(mat1)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!