join two cells on certain cell row values

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by