I have a table in MATLAB, its data types are a mixture of cell-strings and cells. one of the table columns is 'Laterality' and the data is a cell-string.
I want to select all the data with Laterality = 'L'
So I do:
newTable = (table.Laterality == 'L')
as per the documentation: https://uk.mathworks.com/help/matlab/tables.html
However this gives the error:
Undefined function 'eq' for input arguments of type 'cell'.
I've tried changing the data type to chars. I've tried using the dataset type instead of the table. Any other suggestions?