現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
Find all possible combinations of numbers with a specific array length
5 ビュー (過去 30 日間)
古いコメントを表示
Sumara
2023 年 11 月 16 日
I need to write a code that can find all possible combinations of 4 characters with a output length of 12
e.g. all possible combinations of A, B, C, and D with an output length of 12 would look something like
A A A A A A A A A A A A
A A A A A A A A A A A B
A A A A A A A A A A A C
A A A A A A A A A A A D
A A A A A A A A A A B A
etc
2 件のコメント
William Rose
2023 年 11 月 16 日
@Jillyn Tittle, @Torsten is exactly right. The teacher could impart just as much understanding with this assignment if they specified output length=5, and thus only 1024 strings.
採用された回答
Voss
2023 年 11 月 16 日
One way:
chars = 'ABCD';
n_length = 12;
n_chars = numel(chars);
result = chars(1+dec2base((0:n_chars^n_length-1),n_chars)-'0')
result = 16777216×12 char array
'AAAAAAAAAAAA'
'AAAAAAAAAAAB'
'AAAAAAAAAAAC'
'AAAAAAAAAAAD'
'AAAAAAAAAABA'
'AAAAAAAAAABB'
'AAAAAAAAAABC'
'AAAAAAAAAABD'
'AAAAAAAAAACA'
'AAAAAAAAAACB'
'AAAAAAAAAACC'
'AAAAAAAAAACD'
'AAAAAAAAAADA'
'AAAAAAAAAADB'
'AAAAAAAAAADC'
'AAAAAAAAAADD'
'AAAAAAAAABAA'
'AAAAAAAAABAB'
'AAAAAAAAABAC'
'AAAAAAAAABAD'
'AAAAAAAAABBA'
'AAAAAAAAABBB'
'AAAAAAAAABBC'
'AAAAAAAAABBD'
'AAAAAAAAABCA'
'AAAAAAAAABCB'
'AAAAAAAAABCC'
'AAAAAAAAABCD'
'AAAAAAAAABDA'
'AAAAAAAAABDB'
'AAAAAAAAABDC'
'AAAAAAAAABDD'
'AAAAAAAAACAA'
'AAAAAAAAACAB'
'AAAAAAAAACAC'
'AAAAAAAAACAD'
'AAAAAAAAACBA'
'AAAAAAAAACBB'
'AAAAAAAAACBC'
'AAAAAAAAACBD'
'AAAAAAAA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'
'AAAAAAABAABD'
'AAAAAAABAACA'
'AAAAAAABAACB'
'AAAAAAABAACC'
'AAAAAAABAACD'
'AAAAAAABAADA'
'AAAAAAABAADB'
'AAAAAAABAADC'
'AAAAAAABAADD'
'AAAAAAABABAA'
'AAAAAAABABAB'
'AAAAAAABABAC'
'AAAAAAABABAD'
'AAAAAAABABBA'
'AAAAAAABABBB'
'AAAAAAABABBC'
'AAAAAAABABBD'
'AAAAAAABABCA'
'AAAAAAABABCB'
'AAAAAAABABCC'
'AAAAAAABABCD'
'AAAAAAABABDA'
'AAAAAAABABDB'
'AAAAAAABABDC'
'AAAAAAABABDD'
'AAAAAAABACAA'
'AAAAAAABACAB'
'AAAAAAABACAC'
'AAAAAAABACAD'
'AAAAAAABACBA'
'AAAAAAABACBB'
'AAAAAAABACBC'
'AAAAAAABACBD'
'AAAAAAABACCA'
'AAAAAAABACCB'
'AAAAAAABACCC'
'AAAAAAABACCD'
'AAAAAAABACDA'
'AAAAAAABACDB'
'AAAAAAABACDC'
'AAAAAAABACDD'
'AAAAAAABADAA'
'AAAAAAABADAB'
'AAAAAAABADAC'
'AAAAAAABADAD'
'AAAAAAABADBA'
'AAAAAAABADBB'
'AAAAAAABADBC'
'AAAAAAABADBD'
'AAAAAAABADCA'
'AAAAAAABADCB'
'AAAAAAABADCC'
'AAAAAAABADCD'
'AAAAAAABADDA'
'AAAAAAABADDB'
'AAAAAAABADDC'
'AAAAAAABADDD'
'AAAAAAABBAAA'
'AAAAAAABBAAB'
'AAAAAAABBAAC'
'AAAAAAABBAAD'
'AAAAAAABBABA'
'AAAAAAABBABB'
'AAAAAAABBABC'
'AAAAAAABBABD'
'AAAAAAABBACA'
'AAAAAAABBACB'
'AAAAAAABBACC'
'AAAAAAABBACD'
'AAAAAAABBADA'
'AAAAAAABBADB'
'AAAAAAABBADC'
'AAAAAAABBADD'
'AAAAAAABBBAA'
'AAAAAAABBBAB'
'AAAAAAABBBAC'
'AAAAAAABBBAD'
'AAAAAAABBBBA'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
'AAAAAAABDCCB'
'AAAAAAABDCCC'
'AAAAAAABDCCD'
'AAAAAAABDCDA'
'AAAAAAABDCDB'
'AAAAAAABDCDC'
'AAAAAAABDCDD'
'AAAAAAABDDAA'
'AAAAAAABDDAB'
'AAAAAAABDDAC'
'AAAAAAABDDAD'
'AAAAAAABDDBA'
'AAAAAAABDDBB'
'AAAAAAABDDBC'
'AAAAAAABDDBD'
'AAAAAAABDDCA'
'AAAAAAABDDCB'
'AAAAAAABDDCC'
'AAAAAAABDDCD'
'AAAAAAABDDDA'
'AAAAAAABDDDB'
'AAAAAAABDDDC'
'AAAAAAABDDDD'
'AAAAAAACAAAA'
'AAAAAAACAAAB'
'AAAAAAACAAAC'
'AAAAAAACAAAD'
'AAAAAAACAABA'
'AAAAAAACAABB'
'AAAAAAACAABC'
'AAAAAAACAABD'
'AAAAAAACAACA'
'AAAAAAACAACB'
'AAAAAAACAACC'
'AAAAAAACAACD'
'AAAAAAACAADA'
'AAAAAAACAADB'
'AAAAAAACAADC'
'AAAAAAACAADD'
'AAAAAAACABAA'
'AAAAAAACABAB'
'AAAAAAACABAC'
'AAAAAAACABAD'
'AAAAAAACABBA'
'AAAAAAACABBB'
'AAAAAAACABBC'
'AAAAAAACABBD'
'AAAAAAACABCA'
'AAAAAAACABCB'
'AAAAAAACABCC'
'AAAAAAACABCD'
'AAAAAAACABDA'
'AAAAAAACABDB'
'AAAAAAACABDC'
'AAAAAAACABDD'
'AAAAAAACACAA'
'AAAAAAACACAB'
'AAAAAAACACAC'
'AAAAAAACACAD'
'AAAAAAACACBA'
'AAAAAAACACBB'
'AAAAAAACACBC'
'AAAAAAACACBD'
'AAAAAAACACCA'
'AAAAAAACACCB'
'AAAAAAACACCC'
'AAAAAAACACCD'
'AAAAAAACACDA'
'AAAAAAACACDB'
'AAAAAAACACDC'
'AAAAAAACACDD'
'AAAAAAACADAA'
'AAAAAAACADAB'
'AAAAAAACADAC'
'AAAAAAACADAD'
'AAAAAAACADBA'
'AAAAAAAC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ABBB'
'AAAAAAADABBC'
'AAAAAAADABBD'
'AAAAAAADABCA'
'AAAAAAADABCB'
'AAAAAAADABCC'
'AAAAAAADABCD'
'AAAAAAADABDA'
'AAAAAAADABDB'
'AAAAAAADABDC'
'AAAAAAADABDD'
'AAAAAAADACAA'
'AAAAAAADACAB'
'AAAAAAADACAC'
'AAAAAAADACAD'
'AAAAAAADACBA'
'AAAAAAADACBB'
'AAAAAAADACBC'
'AAAAAAADACBD'
'AAAAAAADACCA'
'AAAAAAADACCB'
'AAAAAAADACCC'
'AAAAAAADACCD'
'AAAAAAADACDA'
'AAAAAAADACDB'
'AAAAAAADACDC'
'AAAAAAADACDD'
'AAAAAAADADAA'
'AAAAAAADADAB'
'AAAAAAADADAC'
'AAAAAAADADAD'
'AAAAAAADADBA'
'AAAAAAADADBB'
'AAAAAAADADBC'
'AAAAAAADADBD'
'AAAAAAADADCA'
'AAAAAAADADCB'
'AAAAAAADADCC'
'AAAAAAADADCD'
'AAAAAAADADDA'
'AAAAAAADADDB'
'AAAAAAADADDC'
'AAAAAAADADDD'
'AAAAAAADBAAA'
'AAAAAAADBAAB'
'AAAAAAADBAAC'
'AAAAAAADBAAD'
'AAAAAAADBABA'
'AAAAAAADBABB'
'AAAAAAADBABC'
'AAAAAAADBABD'
'AAAAAAADBACA'
'AAAAAAADBACB'
'AAAAAAADBACC'
'AAAAAAADBACD'
'AAAAAAADBADA'
'AAAAAAADBADB'
'AAAAAAADBADC'
'AAAAAAADBADD'
'AAAAAAADBBAA'
'AAAAAAADBBAB'
'AAAAAAADBBAC'
'AAAAAAADBBAD'
'AAAAAAADBBBA'
'AAAAAAADBBBB'
'AAAAAAADBBBC'
'AAAAAAADBBBD'
'AAAAAAADBBCA'
'AAAAAAADBBCB'
'AAAAAAADBBCC'
'AAAAAAADBBCD'
'AAAAAAADBBDA'
'AAAAAAADBBDB'
'AAAAAAADBBDC'
'AAAAAAADBBDD'
'AAAAAAADBCAA'
'AAAAAAADBCAB'
'AAAAAAADB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DBC'
'AAAAAAADDDBD'
'AAAAAAADDDCA'
'AAAAAAADDDCB'
'AAAAAAADDDCC'
'AAAAAAADDDCD'
'AAAAAAADDDDA'
'AAAAAAADDDDB'
'AAAAAAADDDDC'
'AAAAAAADDDDD'
'AAAAAABAAAAA'
'AAAAAABAAAAB'
'AAAAAABAAAAC'
'AAAAAABAAAAD'
'AAAAAABAAABA'
'AAAAAABAAABB'
'AAAAAABAAABC'
'AAAAAABAAABD'
'AAAAAABAAACA'
'AAAAAABAAACB'
'AAAAAABAAACC'
'AAAAAABAAACD'
'AAAAAABAAADA'
'AAAAAABAAADB'
'AAAAAABAAADC'
'AAAAAABAAADD'
'AAAAAABAABAA'
'AAAAAABAABAB'
'AAAAAABAABAC'
'AAAAAABAABAD'
'AAAAAABAABBA'
'AAAAAABAABBB'
'AAAAAABAABBC'
'AAAAAABAABBD'
'AAAAAABAABCA'
'AAAAAABAABCB'
'AAAAAABAABCC'
'AAAAAABAABCD'
'AAAAAABAABDA'
'AAAAAABAABDB'
'AAAAAABAABDC'
'AAAAAABAABDD'
'AAAAAABAACAA'
'AAAAAABAACAB'
'AAAAAABAACAC'
'AAAAAABAACAD'
'AAAAAABAACBA'
'AAAAAABAACBB'
'AAAAAABAACBC'
'AAAAAABAACBD'
'AAAAAABAACCA'
'AAAAAABAACCB'
'AAAAAABAACCC'
'AAAAAABAACCD'
'AAAAAABAACDA'
'AAAAAABAACDB'
'AAAAAABAACDC'
'AAAAAABAACDD'
'AAAAAABAADAA'
'AAAAAABAADAB'
'AAAAAABAADAC'
'AAAAAABAADAD'
'AAAAAABAADBA'
'AAAAAABAADBB'
'AAAAAABAADBC'
'AAAAAABAADBD'
'AAAAAABAADCA'
'AAAAAABAADCB'
'AAAAAABAADCC'
'AAAAAABAADCD'
'AAAAAABAADDA'
'AAAAAABAADDB'
'AAAAAABAADDC'
'AAAAAABAADDD'
'AAAAAABABAAA'
'AAAAAABABAAB'
'AAAAAABABAAC'
'AAAAAABABAAD'
'AAAAAABABABA'
'AAAAAABABABB'
'AAAAAABABABC'
'AAAAAABABABD'
'AAAAAABABACA'
'AAAAAABABACB'
'AAAAAABABACC'
'AAAAAABABACD'
'AAAAAABABADA'
'AAAAAABABADB'
'AAAAAABABADC'
'AAAAAABABADD'
'AAAAAABABBAA'
'AAAAAABABBAB'
'AAAAAABABBAC'
'AAAAAABABBAD'
'AAAAAABABBBA'
'AAAAAABABBBB'
'AAAAAABABBBC'
'AAAAAABABBBD'
'AAAAAABABBCA'
'AAAAAABABBCB'
'AAAAAABABBCC'
'AAAAAABABBCD'
'AAAAAABABBDA'
'AAAAAABABBDB'
'AAAAAABABBDC'
'AAAAAABABBDD'
'AAAAAABABCAA'
'AAAAAABABCAB'
'AAAAAABABCAC'
'AAAAAABABCAD'
'AAAAAABABCBA'
'AAAAAABABCBB'
'AAAAAABABCBC'
'AAAAAABABCBD'
'AAAAAABABCCA'
'AAAAAABABCCB'
'AAAAAABABCCC'
'AAAAAABABCCD'
'AAAAAABABCDA'
'AAAAAABABCDB'
'AAAAAABABCDC'
'AAAAAABABCDD'
'AAAAAABABDAA'
'AAAAAABABDAB'
'AAAAAABABDAC'
'AAAAAABABDAD'
'AAAAAABABDBA'
'AAAAAABABDBB'
'AAAAAABABDBC'
'AAAAAABABDBD'
'AAAAAABABDCA'
'AAAAAABABDCB'
'AAAAAABABDCC'
'AAAAAABABDCD'
'AAAAAABABDDA'
'AAAAAABABDDB'
'AAAAAABABDDC'
'AAAAAABABDDD'
'AAAAAABACAAA'
'AAAAAABACAAB'
'AAAAAABACAAC'
'AAAAAABACAAD'
'AAAAAABACABA'
'AAAAAABACABB'
'AAAAAABACABC'
'AAAAAABACABD'
'AAAAAABACACA'
'AAAAAABACACB'
'AAAAAABACACC'
'AAAAAABACACD'
'AAAAAABACADA'
'AAAAAABACADB'
'AAAAAABACADC'
'AAAAAABACADD'
'AAAAAABACBAA'
'AAAAAABACBAB'
'AAAAAABACBAC'
'AAAAAABACBAD'
'AAAAAABACBBA'
'AAAAAABACBBB'
'AAAAAABACBBC'
'AAAAAABACBBD'
'AAAAAABACBCA'
'AAAAAABACBCB'
'AAAAAABACBCC'
'AAAAAABACBCD'
'AAAAAABACBDA'
'AAAAAABACBDB'
'AAAAAABACBDC'
'AAAAAABACBDD'
'AAAAAABACCAA'
'AAAAAABACCAB'
'AAAAAABACCAC'
'AAAAAABACCAD'
'AAAAAABACCBA'
'AAAAAABACCBB'
'AAAAAABACCBC'
'AAAAAABACCBD'
'AAAAAABACCCA'
'AAAAAABACCCB'
'AAAAAABACCCC'
'AAAAAABACCCD'
'AAAAAABACCDA'
'AAAAAABACCDB'
'AAAAAABACCDC'
'AAAAAABACCDD'
'AAAAAABACDAA'
'AAAAAABACDAB'
'AAAAAABACDAC'
'AAAAAABACDAD'
'AAAAAABACDBA'
'AAAAAABACDBB'
'AAAAAABACDBC'
'AAAAAABACDBD'
'AAAAAABACDCA'
'AAAAAABACDCB'
'AAAAAABACDCC'
'AAAAAABACDCD'
'AAAAAABACDDA'
'AAAAAABACDDB'
'AAAAAABACDDC'
'AAAAAABACDDD'
'AAAAAABADAAA'
'AAAAAABADAAB'
'AAAAAABADAAC'
'AAAAAABADAAD'
'AAAAAABADABA'
'AAAAAABADABB'
'AAAAAABADABC'
'AAAAAABADABD'
'AAAAAABADACA'
'AAAAAABADACB'
'AAAAAABADACC'
'AAAAAABADACD'
'AAAAAABADADA'
'AAAAAABADADB'
'AAAAAABADADC'
'AAAAAABADADD'
'AAAAAABADBAA'
'AAAAAABADBAB'
'AAAAAABADBAC'
'AAAAAABADBAD'
'AAAAAABADBBA'
'AAAAAABADBBB'
'AAAAAABADBBC'
'AAAAAABADBBD'
'AAAAAABADBCA'
'AAAAAABADBCB'
'AAAAAABADBCC'
'AAAAAABADBCD'
'AAAAAABADBDA'
'AAAAAABADBDB'
'AAAAAABADBDC'
'AAAAAABADBDD'
'AAAAAABADCAA'
'AAAAAABADCAB'
'AAAAAABADCAC'
'AAAAAABADCAD'
'AAAAAABADCBA'
'AAAAAABADCBB'
'AAAAAABADCBC'
'AAAAAABADCBD'
'AAAAAABADCCA'
'AAAAAABADCCB'
'AAAAAABADCCC'
'AAAAAABADCCD'
'AAAAAABADCDA'
'AAAAAABADCDB'
'AAAAAABADCDC'
'AAAAAABADCDD'
'AAAAAABADDAA'
'AAAAAABADDAB'
'AAAAAABADDAC'
'AAAAAABADDAD'
'AAAAAABADDBA'
'AAAAAABADDBB'
'AAAAAABADDBC'
'AAAAAABADDBD'
'AAAAAABADDCA'
'AAAAAABADDCB'
'AAAAAABADDCC'
'AAAAAABADDCD'
'AAAAAABADDDA'
'AAAAAABADDDB'
'AAAAAABADDDC'
'AAAAAABADDDD'
'AAAAAABBAAAA'
'AAAAAABBAAAB'
'AAAAAABBAAAC'
'AAAAAABBAAAD'
'AAAAAABBAABA'
'AAAAAABBAABB'
'AAAAAABBAABC'
'AAAAAABBAABD'
'AAAAAABBAACA'
'AAAAAABBAACB'
'AAAAAABBAACC'
'AAAAAABBAACD'
'AAAAAABBAADA'
'AAAAAABBAADB'
'AAAAAABBAADC'
'AAAAAABBAADD'
'AAAAAABBABAA'
'AAAAAABBABAB'
'AAAAAABBABAC'
'AAAAAABBABAD'
'AAAAAABBABBA'
'AAAAAABBABBB'
'AAAAAABBABBC'
'AAAAAABBABBD'
'AAAAAABBABCA'
'AAAAAABBABCB'
'AAAAAABBABCC'
'AAAAAABBABCD'
'AAAAAABBABDA'
'AAAAAABBABDB'
'AAAAAABBABDC'
'AAAAAABBABDD'
'AAAAAABBACAA'
'AAAAAABBACAB'
'AAAAAABBACAC'
'AAAAAABBACAD'
'AAAAAABBACBA'
'AAAAAABBACBB'
'AAAAAABBACBC'
'AAAAAABBACBD'
'AAAAAABBACCA'
'AAAAAABBACCB'
'AAAAAABBACCC'
'AAAAAABBACCD'
'AAAAAABBACDA'
'AAAAAABBACDB'
'AAAAAABBACDC'
'AAAAAABBACDD'
'AAAAAABBADAA'
'AAAAAABBADAB'
'AAAAAABBADAC'
'A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AAAAABCABAD'
'AAAAAABCABBA'
'AAAAAABCABBB'
'AAAAAABCABBC'
'AAAAAABCABBD'
'AAAAAABCABCA'
'AAAAAABCABCB'
'AAAAAABCABCC'
'AAAAAABCABCD'
'AAAAAABCABDA'
'AAAAAABCABDB'
'AAAAAABCABDC'
'AAAAAABCABDD'
'AAAAAABCACAA'
'AAAAAABCACAB'
'AAAAAABCACAC'
'AAAAAABCACAD'
'AAAAAABCACBA'
'AAAAAABCACBB'
'AAAAAABCACBC'
'AAAAAABCACBD'
'AAAAAABCACCA'
'AAAAAABCACCB'
'AAAAAABCACCC'
'AAAAAABCACCD'
'AAAAAABCACDA'
'AAAAAABCACDB'
'AAAAAABCACDC'
'AAAAAABCACDD'
'AAAAAABCADAA'
'AAAAAABCADAB'
'AAAAAABCADAC'
'AAAAAABCADAD'
'AAAAAABCADBA'
'AAAAAABCADBB'
'AAAAAABCADBC'
'AAAAAABCADBD'
'AAAAAABCADCA'
'AAAAAABCADCB'
'AAAAAABCADCC'
'AAAAAABCADCD'
'AAAAAABCADDA'
'AAAAAABCADDB'
'AAAAAABCADDC'
'AAAAAABCADDD'
'AAAAAABCBAAA'
'AAAAAABCBAAB'
'AAAAAABCBAAC'
'AAAAAABCBAAD'
'AAAAAABCBABA'
'AAAAAABCBABB'
'AAAAAABCBABC'
'AAAAAABCBABD'
'AAAAAABCBACA'
'AAAAAABCBACB'
'AAAAAABCBACC'
'AAAAAABCBACD'
'AAAAAABCBADA'
'AAAAAABCBADB'
'AAAAAABCBADC'
'AAAAAABCBADD'
'AAAAAABCBBAA'
'AAAAAABCBBAB'
'AAAAAABCBBAC'
'AAAAAABCBBAD'
'AAAAAABCBBBA'
'AAAAAABCBBBB'
'AAAAAABCBBBC'
'AAAAAABCBBBD'
'AAAAAABCBBCA'
'AAAAAABCBBCB'
'AAAAAABCBBCC'
'AAAAAABCBBCD'
'AAAAAABCBBDA'
'AAAAAABCBBDB'
'AAAAAABCBBDC'
'AAAAAABCBBDD'
'AAAA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AABCDDBA'
'AAAAAABCDDBB'
'AAAAAABCDDBC'
'AAAAAABCDDBD'
'AAAAAABCDDCA'
'AAAAAABCDDCB'
'AAAAAABCDDCC'
'AAAAAABCDDCD'
'AAAAAABCDDDA'
'AAAAAABCDDDB'
'AAAAAABCDDDC'
'AAAAAABCDDDD'
'AAAAAABDAAAA'
'AAAAAABDAAAB'
'AAAAAABDAAAC'
'AAAAAABDAAAD'
'AAAAAABDAABA'
'AAAAAABDAABB'
'AAAAAABDAABC'
'AAAAAABDAABD'
'AAAAAABDAACA'
'AAAAAABDAACB'
'AAAAAABDAACC'
'AAAAAABDAACD'
'AAAAAABDAADA'
'AAAAAABDAADB'
'AAAAAABDAADC'
'AAAAAABDAADD'
'AAAAAABDABAA'
'AAAAAABDABAB'
'AAAAAABDABAC'
'AAAAAABDABAD'
'AAAAAABDABBA'
'AAAAAABDABBB'
'AAAAAABDABBC'
'AAAAAABDABBD'
'AAAAAABDABCA'
'AAAAAABDABCB'
'AAAAAABDABCC'
'AAAAAABDABCD'
'AAAAAABDABDA'
'AAAAAABDABDB'
'AAAAAABDABDC'
'AAAAAABDABDD'
'AAAAAABDACAA'
'AAAAAABDACAB'
'AAAAAABDACAC'
'AAAAAABDACAD'
'AAAAAABDACBA'
'AAAAAABDACBB'
'AAAAAABDACBC'
'AAAAAABDACBD'
'AAAAAABDACCA'
'AAAAAABDACCB'
'AAAAAABDACCC'
'AAAAAABDACCD'
'AAAAAABDACDA'
'AAAAAABDACDB'
'AAAAAABDACDC'
'AAAAAABDACDD'
'AAAAAABDADAA'
'AAAAAABDADAB'
'AAAAAABDADAC'
'AAAAAABDADAD'
'AAAAAABDADBA'
'AAAAAABDADBB'
'AAAAAABDADBC'
'AAAAAABDADBD'
'AAAAAABDADCA'
'AAAAAABDADCB'
'AAAAAABDADCC'
'AAAAAABDADCD'
'AAAAAABDADDA'
'AAAAAABDADDB'
'AAAAAABDADDC'
'AAAAAABDADDD'
'AAAAAABDBAAA'
'AAAAAABDBAA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BBC'
'AAAAAABDDBBD'
'AAAAAABDDBCA'
'AAAAAABDDBCB'
'AAAAAABDDBCC'
'AAAAAABDDBCD'
'AAAAAABDDBDA'
'AAAAAABDDBDB'
'AAAAAABDDBDC'
'AAAAAABDDBDD'
'AAAAAABDDCAA'
'AAAAAABDDCAB'
'AAAAAABDDCAC'
'AAAAAABDDCAD'
'AAAAAABDDCBA'
'AAAAAABDDCBB'
'AAAAAABDDCBC'
'AAAAAABDDCBD'
'AAAAAABDDCCA'
'AAAAAABDDCCB'
'AAAAAABDDCCC'
'AAAAAABDDCCD'
'AAAAAABDDCDA'
'AAAAAABDDCDB'
'AAAAAABDDCDC'
'AAAAAABDDCDD'
'AAAAAABDDDAA'
'AAAAAABDDDAB'
'AAAAAABDDDAC'
'AAAAAABDDDAD'
'AAAAAABDDDBA'
'AAAAAABDDDBB'
'AAAAAABDDDBC'
'AAAAAABDDDBD'
'AAAAAABDDDCA'
'AAAAAABDDDCB'
'AAAAAABDDDCC'
'AAAAAABDDDCD'
'AAAAAABDDDDA'
'AAAAAABDDDDB'
'AAAAAABDDDDC'
'AAAAAABDDDDD'
'AAAAAACAAAAA'
'AAAAAACAAAAB'
'AAAAAACAAAAC'
'AAAAAACAAAAD'
'AAAAAACAAABA'
'AAAAAACAAABB'
'AAAAAACAAABC'
'AAAAAACAAABD'
'AAAAAACAAACA'
'AAAAAACAAACB'
'AAAAAACAAACC'
'AAAAAACAAACD'
'AAAAAACAAADA'
'AAAAAACAAADB'
'AAAAAACAAADC'
'AAAAAACAAADD'
'AAAAAACAABAA'
'AAAAAACAABAB'
'AAAAAACAABAC'
'AAAAAACAABAD'
'AAAAAACAABBA'
'AAAAAACAABBB'
'AAAAAACAABBC'
'AAAAAACAABBD'
'AAAAAACAABCA'
'AAAAAACAABCB'
'AAAAAACAABCC'
'AAAAAACAABCD'
'AAAAAACAABDA'
'AAAAAACAABDB'
'AAAAAACAABDC'
'AAAAAACAABDD'
'AAAAAACAACAA'
'AAAAAACAACAB'
'AAAAAACAACAC'
'AAAAAACAACAD'
'AAAAAACAACBA'
'AAAAAACAACBB'
'AAAAAACAACBC'
'AAAAAACAACBD'
'AAAAAACAACCA'
'AAAAAACAACCB'
'AAAAAACAACCC'
'AAAAAACAACCD'
'AAAAAACAACDA'
'AAAAAACAACDB'
'AAAAAACAACDC'
'AAAAAACAACDD'
'AAAAAACAADAA'
'AAAAAACAADAB'
'AAAAAACAADAC'
'AAAAAACAADAD'
'AAAAAACAADBA'
'AAAAAACAADBB'
'AAAAAACAADBC'
'AAAAAACAADBD'
'AAAAAACAADCA'
'AAAAAACAADCB'
'AAAAAACAADCC'
'AAAAAACAADCD'
'AAAAAACAADDA'
'AAAAAACAADDB'
'AAAAAACAADDC'
'AAAAAACAADDD'
'AAAAAACABAAA'
'AAAAAACABAAB'
'AAAAAACABAAC'
'AAAAAACABAAD'
'AAAAAACABABA'
'AAAAAACABABB'
'AAAAAACABABC'
'AAAAAACABABD'
'AAAAAACABACA'
'AAAAAACABACB'
'AAAAAACABACC'
'AAAAAACABACD'
'AAAAAACABADA'
'AAAAAACABADB'
'AAAAAACABADC'
'AAAAAACABADD'
'AAAAAACABBAA'
'AAAAAACABBAB'
'AAAAAACABBAC'
'AAAAAACABBAD'
'AAAAAACABBBA'
'AAAAAACABBBB'
'AAAAAACABBBC'
'AAAAAACABBBD'
'AAAAAACABBCA'
'AAAAAACABBCB'
'AAAAAACABBCC'
'AAAAAACABBCD'
'AAAAAACABBDA'
'AAAAAACABBDB'
'AAAAAACABBDC'
'AAAAAACABBDD'
'AAAAAACABCAA'
'AAAAAACABCAB'
'AAAAAACABCAC'
'AAAAAACABCAD'
'AAAAAACABCBA'
'AAAAAACABCBB'
'AAAAAACABCBC'
'AAAAAACABCBD'
'AAAAAACABCCA'
'AAAAAACABCCB'
'AAAAAACABCCC'
'AAAAAACABCCD'
'AAAAAACABCDA'
'AAAAAACABCDB'
'AAAAAACABCDC'
'AAAAAACABCDD'
'AAAAAACABDAA'
'AAAAAACABDAB'
'AAAAAACABDAC'
'AAAAAACABDAD'
'AAAAAACABDBA'
'AAAAAACABDBB'
'AAAAAACABDBC'
'AAAAAACABDBD'
'AAAAAACABDCA'
'AAAAAACABDCB'
'AAAAAACABDCC'
'AAAAAACABDCD'
'AAAAAACABDDA'
'AAAAAACABDDB'
'AAAAAACABDDC'
'AAAAAACABDDD'
'AAAAAACACAAA'
'AAAAAACACAAB'
'AAAAAACACAAC'
'AAAAAACACAAD'
'AAAAAACACABA'
'AAAAAACACABB'
'AAAAAACACABC'
'AAAAAACACABD'
'AAAAAACACACA'
'AAAAAACACACB'
'AAAAAACACACC'
'AAAAAACACACD'
'AAAAAACACADA'
'AAAAAACACADB'
'AAAAAACACADC'
'AAAAAACACADD'
'AAAAAACACBAA'
'AAAAAACACBAB'
'AAAAAACACBAC'
'AAAAAACACBAD'
'AAAAAACACBBA'
'AAAAAACACBBB'
'AAAAAACACBBC'
'AAAAAACACBBD'
'AAAAAACACBCA'
'AAAAAACACBCB'
'AAAAAACACBCC'
'AAAAAACACBCD'
'AAAAAACACBDA'
'AAAAAACACBDB'
'AAAAAACACBDC'
'AAAAAACACBDD'
'AAAAAACACCAA'
'AAAAAACACCAB'
'AAAAAACACCAC'
'AAAAAACACCAD'
'AAAAAACACCBA'
'AAAAAACACCBB'
'AAAAAACACCBC'
'AAAAAACACCBD'
'AAAAAACACCCA'
'AAAAAACACCCB'
'AAAAAACACCCC'
'AAAAAACACCCD'
'AAAAAACACCDA'
'AAAAAACACCDB'
'AAAAAACACCDC'
'AAAAAACACCDD'
'AAAAAACACDAA'
'AAAAAACACDAB'
'AAAAAACACDAC'
'AAAAAACACDAD'
'AAAAAACACDBA'
'AAAAAACACDBB'
'AAAAAACACDBC'
'AAAAAACACDBD'
'AAAAAACACDCA'
'AAAAAACACDCB'
'AAAAAACACDCC'
'AAAAAACACDCD'
'AAAAAACACDDA'
'AAAAAACACDDB'
'AAAAAACACDDC'
'AAAAAACACDDD'
'AAAAAACADAAA'
'AAAAAACADAAB'
'AAAAAACADAAC'
'AAAAAACADAAD'
'AAAAAACADABA'
'AAAAAACADABB'
'AAAAAACADABC'
'AAAAAACADABD'
'AAAAAACADACA'
'AAAAAACADACB'
'AAAAAACADACC'
'AAAAAACADACD'
'AAAAAACADADA'
'AAAAAACADADB'
'AAAAAACADADC'
'AAAAAACADADD'
'AAAAAACADBAA'
'AAAAAACADBAB'
'AAAAAACADBAC'
'AAAAAACADBAD'
'AAAAAACADBBA'
'AAAAAACADBBB'
'AAAAAACADBBC'
'AAAAAACADBBD'
'AAAAAACADBCA'
'AAAAAACADBCB'
'AAAAAACADBCC'
'AAAAAACADBCD'
'AAAAAACADBDA'
'AAAAAACADBDB'
'AAAAAACADBDC'
'AAAAAACADBDD'
'AAAAAACADCAA'
'AAAAAACADCAB'
'AAAAAACADCAC'
'AAAAAACADCAD'
'AAAAAACADCBA'
'AAAAAACADCBB'
'AAAAAACADCBC'
'AAAAAACADCBD'
'AAAAAACADCCA'
'AAAAAACADCCB'
'AAAAAACADCCC'
'AAAAAACADCCD'
'AAAAAACADCDA'
'AAAAAACADCDB'
'AAAAAACADCDC'
'AAAAAACADCDD'
'AAAAAACADDAA'
'AAAAAACADDAB'
'AAAAAACADDAC'
'AAAAAACADDAD'
'AAAAAACADDBA'
'AAAAAACADDBB'
'AAAAAACADDBC'
'AAAAAACADDBD'
'AAAAAACADDCA'
'AAAAAACADDCB'
'AAAAAACADDCC'
'AAAAAACADDCD'
'AAAAAACADDDA'
'AAAAAACADDDB'
'AAAAAACADDDC'
'AAAAAACADDDD'
'AAAAAACBAAAA'
'AAAAAACBAAAB'
'AAAAAACBAAAC'
'AAAAAACBAAAD'
'AAAAAACBAABA'
'AAAAAACBAABB'
'AAAAAACBAABC'
'AAAAAACBAABD'
'AAAAAACBAACA'
'AAAAAACBAACB'
'AAAAAACBAACC'
'AAAAAACBAACD'
'AAAAAACBAADA'
'AAAAAACBAADB'
'AAAAAACBAADC'
'AAAAAACBAADD'
'AAAAAACBABAA'
'AAAAAACBABAB'
'AAAAAACBABAC'
'AAAAAACBABAD'
'AAAAAACBABBA'
'AAAAAACBABBB'
'AAAAAACBABBC'
'AAAAAACBABBD'
'AAAAAACBABCA'
'AAAAAACBABCB'
'AAAAAACBABCC'
'AAAAAACBABCD'
'AAAAAACBABDA'
'AAAAAACBABDB'
'AAAAAACBABDC'
'AAAAAACBABDD'
'AAAAAACBACAA'
'AAAAAACBACAB'
'AAAAAACBACAC'
'AAAAAACBACAD'
'AAAAAACBACBA'
'AAAAAACBACBB'
'AAAAAACBACBC'
'AAAAAACBACBD'
'AAAAAACBACCA'
'AAAAAACBACCB'
'AAAAAACBACCC'
'AAAAAACBACCD'
'AAAAAACBACDA'
'AAAAAACBACDB'
'AAAAAACBACDC'
'AAAAAACBACDD'
'AAAAAACBADAA'
'AAAAAACBADAB'
'AAAAAACBADAC'
'AAAAAACBADAD'
'AAAAAACBADBA'
'AAAAAACBADBB'
'AAAAAACBADBC'
'AAAAAACBADBD'
'AAAAAACBADCA'
'AAAAAACBADCB'
'AAAAAACBADCC'
'AAAAAACBADCD'
'AAAAAACBADDA'
'AAAAAACBADDB'
'AAAAAACBADDC'
'AAAAAACBADDD'
'AAAAAACBBAAA'
'AAAAAACBBAAB'
'AAAAAACBBAAC'
'AAAAAACBBAAD'
'AAAAAACBBABA'
'AAAAAACBBABB'
'AAAAAACBBABC'
'AAAAAACBBABD'
'AAAAAACBBACA'
'AAAAAACBBACB'
'AAAAAACBBACC'
'AAAAAACBBACD'
'AAAAAACBBADA'
'AAAAAACBBADB'
'AAAAAACBBADC'
'AAAAAACBBADD'
'AAAAAACBBBAA'
'AAAAAACBBBAB'
'AAAAAACBBBAC'
'AAAAAACBBBAD'
'AAAAAACBBBBA'
'AAAAAACBBBBB'
'AAAAAACBBBBC'
'AAAAAACBBBBD'
'AAAAAACBBBCA'
'AAAAAACBBBCB'
'AAAAAACBBBCC'
'AAAAAACBBBCD'
'AAAAAACBBBDA'
'AAAAAACBBBDB'
'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AAAAAACBDDAC'
'AAAAAACBDDAD'
'AAAAAACBDDBA'
'AAAAAACBDDBB'
'AAAAAACBDDBC'
'AAAAAACBDDBD'
'AAAAAACBDDCA'
'AAAAAACBDDCB'
'AAAAAACBDDCC'
'AAAAAACBDDCD'
'AAAAAACBDDDA'
'AAAAAACBDDDB'
'AAAAAACBDDDC'
'AAAAAACBDDDD'
'AAAAAACCAAAA'
'AAAAAACCAAAB'
'AAAAAACCAAAC'
'AAAAAACCAAAD'
'AAAAAACCAABA'
'AAAAAACCAABB'
'AAAAAACCAABC'
'AAAAAACCAABD'
'AAAAAACCAACA'
'AAAAAACCAACB'
'AAAAAACCAACC'
'AAAAAACCAACD'
'AAAAAACCAADA'
'AAAAAACCAADB'
'AAAAAACCAADC'
'AAAAAACCAADD'
'AAAAAACCABAA'
'AAAAAACCABAB'
'AAAAAACCABAC'
'AAAAAACCABAD'
'AAAAAACCABBA'
'AAAAAACCABBB'
'AAAAAACCABBC'
'AAAAAACCABBD'
'AAAAAACCABCA'
'AAAAAACCABCB'
'AAAAAACCABCC'
'AAAAAACCABCD'
'AAAAAACCABDA'
'AAAAAACCABDB'
'AAAAAACCABDC'
'AAAAAACCABDD'
'AAAAAACCACAA'
'AAAAAACCACAB'
'AAAAAACCACAC'
'AAAAAACCACAD'
'AAAAAACCACBA'
'AAAAAACCACBB'
'AAAAAACCACBC'
'AAAAAACCACBD'
'AAAAAACCACCA'
'AAAAAACCACCB'
'AAAAAACCACCC'
'AAAAAACCACCD'
'AAAAAACCACDA'
'AAAAAACCACDB'
'AAAAAACCACDC'
'AAAAAACCACDD'
'AAAAAACCADAA'
'AAAAAACCADAB'
'AAAAAACCADAC'
'AAAAAACCADAD'
'AAAAAACCADBA'
'AAAAAACCADBB'
'AAAAAACCADBC'
'AAAAAACCADBD'
'AAAAAACCADCA'
'AAAAAACCADCB'
'AAAAAACCADCC'
'AAAAAACCADCD'
'AAAAAACCADDA'
'AAAAAACCADDB'
'AAAAAACCADDC'
'AAAAA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ACDABDD'
'AAAAAACDACAA'
'AAAAAACDACAB'
'AAAAAACDACAC'
'AAAAAACDACAD'
'AAAAAACDACBA'
'AAAAAACDACBB'
'AAAAAACDACBC'
'AAAAAACDACBD'
'AAAAAACDACCA'
'AAAAAACDACCB'
'AAAAAACDACCC'
'AAAAAACDACCD'
'AAAAAACDACDA'
'AAAAAACDACDB'
'AAAAAACDACDC'
'AAAAAACDACDD'
'AAAAAACDADAA'
'AAAAAACDADAB'
'AAAAAACDADAC'
'AAAAAACDADAD'
'AAAAAACDADBA'
'AAAAAACDADBB'
'AAAAAACDADBC'
'AAAAAACDADBD'
'AAAAAACDADCA'
'AAAAAACDADCB'
'AAAAAACDADCC'
'AAAAAACDADCD'
'AAAAAACDADDA'
'AAAAAACDADDB'
'AAAAAACDADDC'
'AAAAAACDADDD'
'AAAAAACDBAAA'
'AAAAAACDBAAB'
'AAAAAACDBAAC'
'AAAAAACDBAAD'
'AAAAAACDBABA'
'AAAAAACDBABB'
'AAAAAACDBABC'
'AAAAAACDBABD'
'AAAAAACDBACA'
'AAAAAACDBACB'
'AAAAAACDBACC'
'AAAAAACDBACD'
'AAAAAACDBADA'
'AAAAAACDBADB'
'AAAAAACDBADC'
'AAAAAACDBADD'
'AAAAAACDBBAA'
'AAAAAACDBBAB'
'AAAAAACDBBAC'
'AAAAAACDBBAD'
'AAAAAACDBBBA'
'AAAAAACDBBBB'
'AAAAAACDBBBC'
'AAAAAACDBBBD'
'AAAAAACDBBCA'
'AAAAAACDBBCB'
'AAAAAACDBBCC'
'AAAAAACDBBCD'
'AAAAAACDBBDA'
'AAAAAACDBBDB'
'AAAAAACDBBDC'
'AAAAAACDBBDD'
'AAAAAACDBCAA'
'AAAAAACDBCAB'
'AAAAAACDBCAC'
'AAAAAACDBCAD'
'AAAAAACDBCBA'
'AAAAAACDBCBB'
'AAAAAACDBCBC'
'AAAAAACDBCBD'
'AAAAAACDBCCA'
'AAAAAACDBCCB'
'AAAAAACDBCCC'
'AAAAAACDBCC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D'
'AAAAAADAAAAA'
'AAAAAADAAAAB'
'AAAAAADAAAAC'
'AAAAAADAAAAD'
'AAAAAADAAABA'
'AAAAAADAAABB'
'AAAAAADAAABC'
'AAAAAADAAABD'
'AAAAAADAAACA'
'AAAAAADAAACB'
'AAAAAADAAACC'
'AAAAAADAAACD'
'AAAAAADAAADA'
'AAAAAADAAADB'
'AAAAAADAAADC'
'AAAAAADAAADD'
'AAAAAADAABAA'
'AAAAAADAABAB'
'AAAAAADAABAC'
'AAAAAADAABAD'
'AAAAAADAABBA'
'AAAAAADAABBB'
'AAAAAADAABBC'
'AAAAAADAABBD'
'AAAAAADAABCA'
'AAAAAADAABCB'
'AAAAAADAABCC'
'AAAAAADAABCD'
'AAAAAADAABDA'
'AAAAAADAABDB'
'AAAAAADAABDC'
'AAAAAADAABDD'
'AAAAAADAACAA'
'AAAAAADAACAB'
'AAAAAADAACAC'
'AAAAAADAACAD'
'AAAAAADAACBA'
'AAAAAADAACBB'
'AAAAAADAACBC'
'AAAAAADAACBD'
'AAAAAADAACCA'
'AAAAAADAACCB'
'AAAAAADAACCC'
'AAAAAADAACCD'
'AAAAAADAACDA'
'AAAAAADAACDB'
'AAAAAADAACDC'
'AAAAAADAACDD'
'AAAAAADAADAA'
'AAAAAADAADAB'
'AAAAAADAADAC'
'AAAAAADAADAD'
'AAAAAADAADBA'
'AAAAAADAADBB'
'AAAAAADAADBC'
'AAAAAADAADBD'
'AAAAAADAADCA'
'AAAAAADAADCB'
'AAAAAADAADCC'
'AAAAAADAADCD'
'AAAAAADAADDA'
'AAAAAADAADDB'
'AAAAAADAADDC'
'AAAAAADAADDD'
'AAAAAADABAAA'
'AAAAAADABAAB'
'AAAAAADABAAC'
'AAAAAADABAAD'
'AAAAAADABABA'
'AAAAAADABABB'
'AAAAAADABABC'
'AAAAAADABABD'
'AAAAAADABACA'
'AAAAAADABACB'
'AAAAAADABACC'
'AAAAAADABACD'
'AAAAAADABADA'
'AAAAAADABADB'
'AAAAAADABADC'
'AAAAAADABADD'
'AAAAAADABBAA'
'AAAAAADABBAB'
'AAAAAADABBAC'
'AAAAAADABBAD'
'AAAAAADABBBA'
その他の回答 (2 件)
Torsten
2023 年 11 月 16 日
移動済み: Torsten
2023 年 11 月 16 日
M = categorical(["A","B","C","D"]);
combinations(M,M,M,M,M,M,M,M,M,M,M,M)
ans = 16777216×12 table
M M_1 M_2 M_3 M_4 M_5 M_6 M_7 M_8 M_9 M_10 M_11
_ ___ ___ ___ ___ ___ ___ ___ ___ ___ ____ ____
A A A A A A A A A A A A
A A A A A A A A A A A B
A A A A A A A A A A A C
A A A A A A A A A A A D
A A A A A A A A A A B A
A A A A A A A A A A B B
A A A A A A A A A A B C
A A A A A A A A A A B D
A A A A A A A A A A C A
A A A A A A A A A A C B
A A A A A A A A A A C C
A A A A A A A A A A C D
A A A A A A A A A A D A
A A A A A A A A A A D B
A A A A A A A A A A D C
A A A A A A A A A A D D
参考
カテゴリ
Help Center および File Exchange で Debugging and Analysis についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
アジア太平洋地域
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)