run randmio_connected_und.m in script for different thr.