photo

mehdi J


Active since 2018

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Answered
specified numbers of random permutation of a vector
I did it by myself as below: for k=1:MatSize ind=randperm(numel(vec)); Mat(k,:)=vec(ind); end

6 years ago | 1

| accepted

Question


specified numbers of random permutation of a vector
randperm(n) returns a row vector containing a random permutation of the integers from 1 to n inclusive but I need random permuta...

6 years ago | 4 answers | 0

4

answers

Question


how could I find specified number of permutation of a vector ?
hi everybody, perms(v) returns a matrix containing all permutations of the elements of vector v, but I need just specified num...

6 years ago | 0 answers | 0

0

answers

Question


problem using sortcols()
Hi everybody, I have a matrix and I want to sort the colums based on the value of a rows. for example consider A: A = 24 ...

6 years ago | 2 answers | 0

2

answers

Question


problem with using randsample
Hi, I have a set that its members change in a loop and I want to select just one member of it randomly and evaluate the result. ...

6 years ago | 2 answers | 0

2

answers

Question


a function with increasing number of its arguments in a loop
hi dears, I'm using a <https://stackoverflow.com/questions/9834254/cartesian-product-in-matlab function> for generating Carte...

6 years ago | 1 answer | 0

1

answer