Filter on words in Matlab tables (as in Excel)
问题 In Excel you can use the "filter" function to find certain words in your columns. I want to do this in Matlab over the entire table. Using the Matlab example-table "patients.dat" as example; my first idea was to use: patients.Gender=={'Female'} which does not work. strcmp(patients.Gender,{'Female'}) workd only in one column ("Gender"). My problem: I have a table with different words say 'A','B','bananas','apples',.... spread out in an arbitrary manner in the columns of the table. I only want