how get it?
显示 更早的评论
hi, I got combination by: n! n_C_k = ---------- k!(n - k)!
8_C_3=56 for ex.:x=abcdefgh can I get 56 combination of x? i.e how get? abc abd abe . . . thanks in advance
回答(2 个)
bym
2011-9-18
combnk('abcdefgh',3)
Andrei Bobrov
2011-9-18
nchoosek(x,3)
1 个评论
Fangjun Jiang
2011-9-18
Remember to assign x as x='abcdefgh'
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!