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

 Accepted Answer

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

3 Comments

I want to intersect between SI and U,
both of them hasn't the same size
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?
class of U and SI is 'cell'
U have the same of SI

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!