how to compare two cell array

144 views (last 30 days)
sarfudeen
sarfudeen on 30 May 2013
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 Comment
José-Luis
José-Luis on 30 May 2013
What have you tried so far? What problems have you encountered in your implementation?

Sign in to comment.

Answers (2)

José Crespo Barrios
José Crespo Barrios on 11 Dec 2018
cellfun(@isequal, cell_1, cell_2)

Muruganandham Subramanian
Muruganandham Subramanian on 30 May 2013
Edited: Muruganandham Subramanian on 30 May 2013

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!