selects a specified number of vectors from a set randomly.
[ListOfSamples] = SelectRandomly(Source, NumberOfSelectedSamples)
matrix that includes vectors that can be selected as row vectors
number of vectors to be selected
matrix that includes selected vectors as rows
This function selects a specified number of row vectors from a matrix randomly. Any row can be selected only once.
Richard O. Duda, Peter E. Hart, David G. Stork, 'Pattern Classification', John Wiley & Sons Inc., New York, Chichester, Weinheim, Brisbane, Singapore, Toronto, Second Edition, 2001