choose elements from array
Show older comments
Hi My question is how to pick up elements from data. if each element can be chosen or not, it will be 2^n. suppose we have 3 elements ,2^3 types can be picked . n element in 2^n.what's the command of this format?
2 Comments
Geoff Hayes
on 26 Jan 2015
Soosan - please provide a simple example of what you expect. If n is three, what are the 8 types?
Accepted Answer
More Answers (0)
Categories
Find more on Logical 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!