being equals of 2 matrics

Hi all
i want to compare two matrices if they are equal or not. but I dont want to use two for-loop. could you please guide me???
thanks

 Respuesta aceptada

Daniel Shub
Daniel Shub el 1 de Nov. de 2011

0 votos

a = rand(2)
b = rand(2)
isequal(a,a)
isequal(b,b)
isequal(a,b)

Más respuestas (0)

Categorías

Más información sobre MATLAB Mobile Fundamentals en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

som
el 1 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by