intersection between a dataset and a cell array
이전 댓글 표시
Hi all, I have a dataset abc (6x1)and a cell array xyz(4x1). I want to find the common observations. Dataset abc:
'ObsNames' y 'obs1' 0 'obs2' 0 'obs3' 0 'obs4' 0 'obs5' 0 'obs6' 1
cell array: 4×1 cell array
'obs2'
'obs3'
'obs4'
'obs6'I want to get a dataset that contains only the lines present in xyz array.
'ObsNames' y
'obs2' 0
'obs3' 0
'obs4' 0
'obs6' 1thank you
댓글 수: 1
jonas
2018년 10월 1일
Can you upload a .mat file with your variables?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Managing Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!