Skip to content
Prev 105882 / 398506 Next

sample "n" random positions from a matrix

On 12/10/06, Milton Cezar Ribeiro <milton_ruser at yahoo.com.br> wrote:
Do you mean extracting the indexes of n randomly chosen elements of
the matrix which are equal to one?

Paul