All combinations

버전 1.0.0.0 (2.21 KB) 작성자: Abdulrahman Siddiq
It returns all possible n-digit combinations of the elements of an L-element alphabet.
다운로드 수: 396
업데이트 날짜: 2011/10/27

라이선스 보기

% 'alphabet' is an array of L element.n is a positive integer representing
% the number of places in which the elements of 'alphabet' are arranged.
% m=all_comb(alphabet,n) returns an (L^n X n) matrix of all possible
% n-digit combinations of the elements of a given L-element alphabet.
% This function is very useful in finding all possible n-digit numbers
% that may be constructed from a set of digits; and when char(m) is used,
% all possible n-letter words that may constructed from a group of letters
% is found by this function.
% NOTE THAT the transposition operation used in this function in line 35
% will change complex-valued entries to their complex conjugate.
%
% By: Abdulrahman Ikram Siddiq
% Kirkuk - IRAQ
% Thursday Oct.27th 2011 11:15 PM

인용 양식

Abdulrahman Siddiq (2024). All combinations (https://www.mathworks.com/matlabcentral/fileexchange/33495-all-combinations), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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