powered by
Sort a series of points stored as a 2D matrix
morphomapSort(mat)
mat sorted kx2 matrix
numeric matrix: a kx2 matrix
Antonio Profico, Luca Bondioli, Pasquale Raia, Paul O'Higgins, Damiano Marchi
rand<-sample(100) extsec<-morphomapCircle(10,100)[rand,] plot(extsec,type="l",asp=1) sorted<-morphomapSort(extsec) plot(sorted,type="l",asp=1)
Run the code above in your browser using DataLab