n permute k

버전 1.1.0.0 (2.36 KB) 작성자: Eydrian
Based on Matt Fig's npermutek this function returns all possible permutations of most matlab classes
다운로드 수: 940
업데이트 날짜: 2013/2/28

라이선스 보기

Permutation of elements with replacement/repetition. MAT = npermutek(N,K) returns all possible samplings of length K from vector N of type: ordered sample with replacement. MAT has size (numel(N)^K)-by-K, where K must be a scalar. [MAT, IDX] = npermutek(N,K) also returns IDX such that MAT = N(IDX).
N may be of any numeric class, char, cell, struct, or even obj.

인용 양식

Eydrian (2024). n permute k (https://www.mathworks.com/matlabcentral/fileexchange/40546-n-permute-k), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2012b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Elementary Math에 대해 자세히 알아보기
도움

도움 받은 파일: N_PERMUTE_K

Community Treasure Hunt

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

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

Changed description
Cell example was wrong

1.0.0.0