Compare two cell array (different sizes) and return 0 or 1
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Lucas S
am 9 Mär. 2020
Kommentiert: Lucas S
am 9 Mär. 2020
Hello !
I have 2 cells array of string :
- one which is general with many items like : A = {A, B, C, D, E, F, G, H};
- and the seconde which is the one i want to compare with the other : B = {C, E, J};
How can i compare B and A and return 1 if all items of B are in A and 0 if not ?
Thans you for helping !
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!