How to find subsets of a set or a column
Show older comments
I have a column named income having values:
high
high
high
medium
low
low
low
medium
low
medium
medium
medium
high
medium
Now i want subsets from this set excluding powerset and null set
i.e.
{low,medium},{low,high},{medium,high},{low},{medium},{high}.
Thanks.
2 Comments
Walter Roberson
on 18 Mar 2013
Is it definitely a set? As in {high, high, high} is the same as {high} ? So it doesn't matter whether row 1's high or row 2's high is taken?
Amish
on 20 Mar 2013
Accepted Answer
More Answers (0)
Categories
Find more on String Parsing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!