number permutate without permutation

1 Ansicht (letzte 30 Tage)
Emre Metin
Emre Metin am 22 Mai 2020
Bearbeitet: per isakson am 22 Mai 2020
how can i permutate numbers without using P=perms(v) function
  2 Kommentare
James Tursa
James Tursa am 22 Mai 2020
Why can't you use the perms function? Is this homework?
Emre Metin
Emre Metin am 22 Mai 2020
yes unfortunately

Melden Sie sich an, um zu kommentieren.

Antworten (1)

per isakson
per isakson am 22 Mai 2020
Bearbeitet: per isakson am 22 Mai 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 ....

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by