Introduction - If you have any usage issues, please Google them yourself
Matlab code of random and uniform sampling, the size of input matrix and the number of samples. Returns a measurement matrix with random and uniform sampling. The value of the matrix is 0 or 1. 0 means no sampling, and 1 means sampling