Hello, Francesco Perrone, I downloaded your code and tried to run in Matlab. There is one error happened. "Undefined function or method 'pfq' for input arguments of type 'double'." in line 47. Could you please tell me what the command pfq is? Is a Matlab command only exist in Statistics Toolbox? Where can I get this pfq command? Thanks!