How to compare tables/cells/characters?
37 views (last 30 days)
Seyedali Mirjalili on 2 Mar 2018
Does the following help?
tf = strcmp(s1,s2) compares s1 and s2 and returns 1 (true) if the two are identical and 0 (false) otherwise. Text is considered identical if the size and content of each are the same. The return result tf is of data type logical. The input arguments can be any combination of string arrays, character vectors, and cell arrays of character vectors.