MATLAB Answers

How can I intersect between two cell array?

13 views (last 30 days)
>> SI
SI =
1×2 cell array
[1×2 double] [1×2 double]
>> U=SI{1}
U =
1 2

  0 Comments

Sign in to comment.

Accepted Answer

JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH on 2 Dec 2019
intersect(SI{1},SI{2})

  3 Comments

Mira le
Mira le on 2 Dec 2019
I want to intersect between SI and U,
both of them hasn't the same size
JESUS DAVID ARIZA ROYETH
JESUS DAVID ARIZA ROYETH on 2 Dec 2019
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 on 2 Dec 2019
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!