The MATLAB software for determining the number of clusters in data using spectral clustering is available from here.