matrix similarity

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

Respuestas (1)

Paulo Silva
Paulo Silva el 14 de Mzo. de 2011

1 voto

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

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 14 de Mzo. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by