combination command

hi,
is there command compute combination ,for example comp. 4 of 20
thanks

답변 (1개)

Jan
Jan 2011년 11월 27일

0 개 추천

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

huda nawaf
huda nawaf 2011년 11월 27일
thanks ,
nchoosek what I need , but need to see the cominations
ex. comb. 2 of 3
abc
ab,cb,ac
also, I need permutation command

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Discrete Math에 대해 자세히 알아보기

태그

질문:

2011년 11월 27일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by