being equals of 2 matrics

1 visualización (últimos 30 días)
som
som el 1 de Nov. de 2011
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
a = rand(2)
b = rand(2)
isequal(a,a)
isequal(b,b)
isequal(a,b)
  1 comentario
som
som el 1 de Nov. de 2011
thank you in advance

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by