I really appreciated this code as it does exactly what I've been looking for... I intend to cite this code in a future publication. How should I do it? Just giving your name and the code's along with the Mathworks website? Ph.D. student, here, it's the first time I want to use some other people's work... Thanks in advance!