How can I intersect between two cell array?

>> SI
SI =
1×2 cell array
[1×2 double] [1×2 double]
>> U=SI{1}
U =
1 2

 採用された回答

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2019 年 12 月 2 日

0 投票

intersect(SI{1},SI{2})

3 件のコメント

Mira le
Mira le 2019 年 12 月 2 日
I want to intersect between SI and U,
both of them hasn't the same size
JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH 2019 年 12 月 2 日
but U is double and SI is a cell array and your question is "How can I intersect between two cell array?" can you put an example with the inputs and the desired output?
Mira le
Mira le 2019 年 12 月 2 日
class of U and SI is 'cell'
U have the same of SI

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

その他の回答 (0 件)

カテゴリ

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by