matlab 从【a b c d e f g h i j k l m n o p q】中依次取6个字母.取出结果为:a b c d e fa b c d e ga b c d e ha b c d e i.(不遗漏一组;也不重复)

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/31 20:45:32

matlab 从【a b c d e f g h i j k l m n o p q】中依次取6个字母.
取出结果为:
a b c d e f
a b c d e g
a b c d e h
a b c d e i
.(不遗漏一组;也不重复)

A=nchoosek('abcdefghijklmnopq',6)