MATLAB: How to initialize the permutation sequence

Automated Driving ToolboxBioinformatics ToolboxMATLABmatlab guimatrixmatrix manipulationperformance

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

Best Answer

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