Comparing between Array Elements and result matrix too
Afficher commentaires plus anciens
hey.. i want to comparing two matrix for example
a = [ 1 2 3 4 5 6]
b = [ 1 3 2 4 5 6; 1 2 3 4 5 6; 2 2 3 4 5 6]
if elemen in matrix a same with elemen matrix b, its result
c = [1 0 0 1 1 1; 1 1 1 1 1 1; 0 1 1 1 1 1]
Do you have any suggestion ? thanks..
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!