how to compare two cell array
157 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
code for comparing the values present in two cell array.
For example,
one cell array containing two columns with date as one column and time as other column.
The other cell array also looks the same as above.
Now I want to compare date and time column of one cell array with the other cell array which contains date and time column.
Kindly provide me the code.
Regards, M. Sarfudeen
1 Kommentar
José-Luis
am 30 Mai 2013
What have you tried so far? What problems have you encountered in your implementation?
Antworten (2)
Muruganandham Subramanian
am 30 Mai 2013
Bearbeitet: Muruganandham Subramanian
am 30 Mai 2013
e.g.
>> a = {'Dude', 'I', 'am', 'a', 'moose'};
>> b = {'Well', 'I', 'am', 'a', 'mouse'};
>> index = cellfun(@strcmp, a, b);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Structures 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!