number permutate without permutation

조회 수: 1 (최근 30일)
Emre Metin
Emre Metin 2020년 5월 22일
편집: per isakson 2020년 5월 22일
how can i permutate numbers without using P=perms(v) function
  댓글 수: 2
James Tursa
James Tursa 2020년 5월 22일
Why can't you use the perms function? Is this homework?
Emre Metin
Emre Metin 2020년 5월 22일
yes unfortunately

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

답변 (1개)

per isakson
per isakson 2020년 5월 22일
편집: per isakson 2020년 5월 22일
Steps to find a substitute for perms without perms
  1. Lookup perms in the documenttion, perms, All possible permutations
  2. See "See also:" in the bottom of the page and notice randperm. (Luckily there is something that looks relevant to your problem.)
  3. Lookup randperm ....

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by