How can I intersect between two cell array?

조회 수: 14 (최근 30일)
Mira le
Mira le 2019년 12월 2일
댓글: Mira le 2019년 12월 2일
>> 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일
intersect(SI{1},SI{2})
  댓글 수: 3
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개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by