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} ?
t(i) is the entries of T.
t(i) are the elements of T.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Software 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