being equals of 2 matrics

1 visualizzazione (ultimi 30 giorni)
som
som il 1 Nov 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

Risposta accettata

Daniel Shub
Daniel Shub il 1 Nov 2011
a = rand(2)
b = rand(2)
isequal(a,a)
isequal(b,b)
isequal(a,b)

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by