hi ,
i have perl code , and i did not know this language before, this code is very important for me.

i want convert it to matlab code.

who can help me ?
this code in last of this page:

please, please, i badly need it in my work

thanks in advance