join two cells on certain cell row values

1 回表示 (過去 30 日間)
Serena Campbell
Serena Campbell 2021 年 4 月 2 日
回答済み: Sajid Afaque 2021 年 4 月 2 日
So I have one set of data as such
TFS{6x315} and T{6x10} example:
,
the 6 rows are: directory file name, polarisation, degrees, sample name and raw data.
the T cell is the sample and TFS is the background data.
My goal is to write a code which takes the values of date, polarisation and degree from T and matches it to the equivilent data in TFS. I have seen similar solutions with arrays of data but not with cells could anyone help me with a simple solution or point me in the right direction?

回答 (1 件)

Sajid Afaque
Sajid Afaque 2021 年 4 月 2 日
try converting the cells to table format.
then you can explore inner join feature of tables to perform your task

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by