combination command
Show older comments
hi,
is there command compute combination ,for example comp. 4 of 20
thanks
Answers (1)
Jan
on 27 Nov 2011
0 votes
What is the expected output? The number of combinations or a matrix of combinations itself? Do you want repetitions or not?
For some of these questions nchoosek is the needed function. For the others you find several tools in the FEX.
1 Comment
huda nawaf
on 27 Nov 2011
Categories
Find more on Discrete Math 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!