sample matrix with indicators