how to initialize the permutation sequence ?

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

Accepted Answer

Jan on 21 Jun 2019
Edited: Jan on 21 Jun 2019
Maybe you mean:
T = num2cell(randperm(65536, 65536));

Sign in to comment.

More Answers (0)


Find more on Resizing and Reshaping Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!