Combin2Rank

버전 1.1.0.0 (1.77 KB) 작성자: Paulo Fonte
Calculates the rank (sequential ordinal) of nCk combinations
다운로드 수: 609
업데이트 날짜: 2009/1/19

라이선스 보기

Example:

Combs=nchoosek(1:5,3)
Combs =
1 2 3
1 2 4
1 2 5
1 3 4
1 3 5
1 4 5
2 3 4
2 3 5
2 4 5
3 4 5
Combin2Rank(5,3,Combs)
ans =
1
2
3
4
5
6
7
8
9
10

ref: A Numbering System for Combinations, Gary D. Knott, Communications of the ACM, Jan. 1974, v.17, n.1

인용 양식

Paulo Fonte (2024). Combin2Rank (https://www.mathworks.com/matlabcentral/fileexchange/22717-combin2rank), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Antenna and Array Analysis에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Small programming tweaks.

1.0.0.0