Dear Author, My sincere thanks to your contribution. I have a question, is it possible to use Octave instead of Matlab with your code? Sorry if irrelevant. Regards, #0K