MATLAB Answers

number permutate without permutation

2 views (last 30 days)
Emre Metin
Emre Metin on 22 May 2020
Edited: per isakson on 22 May 2020
how can i permutate numbers without using P=perms(v) function

  2 Comments

James Tursa
James Tursa on 22 May 2020
Why can't you use the perms function? Is this homework?

Sign in to comment.

Answers (1)

per isakson
per isakson on 22 May 2020
Edited: per isakson on 22 May 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 ....

  0 Comments

Sign in to comment.