Only keep rows of a table that that belong to certain subject names (specified in first collumn of row)

1 回表示 (過去 30 日間)
Hi all,
I have my data stored in the form of a table where the first collumn contains the subject names ('subject_1', 'subject_2' etc.) and the following collumns contain the data from all the variables.
Unfortunately I'll have to exclude some of the participants (rows) due to data quality issues and I have a list of all the subjects that I want to keep saved in a separate table that contains all subject names (subjects names only) that I want to keep in the 'Main table'. Somehow, I want to find a way to 'match ' the two tables.
Thanks a lot!
Johanna
  3 件のコメント
Johanna Popp
Johanna Popp 2022 年 4 月 7 日
Sorry my bad - I am working with tables.
Johanna Popp
Johanna Popp 2022 年 4 月 7 日
However - the ismember function works for me. Thanks a lot!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePoint Cloud Processing についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by