started matlab sampling tests