Gets n equally spaced samples (rows) from a matrix or vector

sampleEquallySpaced(x, numSamples)

Arguments

x

matrix or vector

numSamples

number of samples (rows) to be drawn

Details

Gets n equally spaced samples (rows) from a matrix and returns a new matrix (or vector) containing those samples