how to initialize the permutation sequence ?

4 vues (au cours des 30 derniers jours)
Sultan Mehmood
Sultan Mehmood le 21 Juin 2019
Commenté : Sultan Mehmood le 25 Juin 2019
i want to initialize the permutation sequence, T={t(1),t(2)......t(65536)}. and t(i) E [ 1, 65536] .

Réponse acceptée

Jan
Jan le 21 Juin 2019
Modifié(e) : Jan le 21 Juin 2019
Maybe you mean:
T = num2cell(randperm(65536, 65536));
  4 commentaires
Sultan Mehmood
Sultan Mehmood le 25 Juin 2019
t(i) is the entries of T.
Sultan Mehmood
Sultan Mehmood le 25 Juin 2019
t(i) are the elements of T.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by