Community Profile

photo

Samuel Moor-Smith


Last seen: bijna 2 jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Using randsample on a matrix of weights
Hi, I have some code like this: for k = 1:p new_index = randsample([1:n,nan],1,true,tot_weights(k,:)); curr_indexe...

bijna 4 jaar ago | 1 answer | 0

1

answer