Generate all cominations?
Show older comments
I am looking to find all the possible combinations of 2 values over a span. eg. For 24 hrs in a day, I need a variable to take either Val 1 or Val2. This generates 2^24 overall possible combinations of paths to take. How can I generate this Matrix ? I need this for some Brute force analysis. Let me know,
Thanks, Vinay
Accepted Answer
More Answers (0)
Categories
Find more on Matrices and Arrays 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!