number permutate without permutation

1 visualizzazione (ultimi 30 giorni)
Emre Metin
Emre Metin il 22 Mag 2020
Modificato: per isakson il 22 Mag 2020
how can i permutate numbers without using P=perms(v) function
  2 Commenti
James Tursa
James Tursa il 22 Mag 2020
Why can't you use the perms function? Is this homework?
Emre Metin
Emre Metin il 22 Mag 2020
yes unfortunately

Accedi per commentare.

Risposte (1)

per isakson
per isakson il 22 Mag 2020
Modificato: per isakson il 22 Mag 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 ....

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by