Create a set of sets
이전 댓글 표시
Hi Team!
Is there a way in Matlab to create a set of sets?
V = [[1 2] [1 3] [1 2 3]];
I tried quite a few methods but the only one that worked is to convert everything to a string and then do a bunch of string manipulations. I would expect that Matlab would have a better way to handle this. Also, the sets can vary in the number of elements.
Thanks for the assist!
채택된 답변
추가 답변 (1개)
Raghul Dhanesh
2020년 12월 13일
0 개 추천
V = [[1 2] [1 3] [1 2 3]];
카테고리
도움말 센터 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!