I have a cell array Data<1048536x1> of strings in MATLAB. I would like to compare adjacent string elements in the cell array. Is there a function in MATLAB? I tried using strcmp but it only works when you have two strings not for adjacent strings in a cell array. Any help much appreciated.
Add a comment
|