number permutate without permutation

1 visualización (últimos 30 días)
Emre Metin
Emre Metin el 22 de Mayo de 2020
Editada: per isakson el 22 de Mayo de 2020
how can i permutate numbers without using P=perms(v) function
  2 comentarios
James Tursa
James Tursa el 22 de Mayo de 2020
Why can't you use the perms function? Is this homework?
Emre Metin
Emre Metin el 22 de Mayo de 2020
yes unfortunately

Iniciar sesión para comentar.

Respuestas (1)

per isakson
per isakson el 22 de Mayo de 2020
Editada: per isakson el 22 de Mayo de 2020
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 ....

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by