Hi,
I got some data with "false" values that I need to remove
The data looks as following…
I need to remove all rows that include the letter "x". The fourth column sometimes consists only of the letter "x", sometimes it consists of "x" and other values as seen on the picture.
I am loading the data usinf following code
filename = 'Sample.txt';fileID = fopen(filename);opts = detectImportOptions(filename);opts.VariableTypes{1} = 'string';opts.VariableTypes{4} = 'string';M = readtable(filename,opts);fclose(fileID);
All help is welcomed and appreciated.
Best Answer