how to initialize the permutation sequence ?

i want to initialize the permutation sequence, T={t(1),t(2)......t(65536)}. and t(i) E [ 1, 65536] .

 採用された回答

Jan
Jan 2019 年 6 月 21 日
編集済み: Jan 2019 年 6 月 21 日

0 投票

Maybe you mean:
T = num2cell(randperm(65536, 65536));

4 件のコメント

Sultan Mehmood
Sultan Mehmood 2019 年 6 月 23 日
編集済み: Sultan Mehmood 2019 年 6 月 23 日
thanks.
how i can get t(i) from above ?
i need t(i) .
if
i=1:65536;
Jan
Jan 2019 年 6 月 24 日
What exactly do you expect as contents of "t(i)"? Do you mean T{i} ?
Sultan Mehmood
Sultan Mehmood 2019 年 6 月 25 日
t(i) is the entries of T.
Sultan Mehmood
Sultan Mehmood 2019 年 6 月 25 日
t(i) are the elements of T.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSoftware Development Tools についてさらに検索

質問済み:

2019 年 6 月 21 日

コメント済み:

2019 年 6 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by