フィルターのクリア

ordering a list of number?

2 ビュー (過去 30 日間)
kevin
kevin 2012 年 4 月 2 日
let say i have 6 different number(J) 1,2,3,4,5,6, how can i use matlab to arrange all possible oder? eg 2,1,3,4,5,6 . 1,2,4,3,5,6 etc?

採用された回答

Thomas
Thomas 2012 年 4 月 2 日
doc perms
Gives all the permutations of the vector
c=[1,2,3,4,5,6]
perms(c)
  1 件のコメント
Jisha
Jisha 2012 年 4 月 2 日
Thanks , i was looking for this as well..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by