Because, I still can't get used to ability of MATLAB :) . 
You are exactly true and no need to loop for sum or etc. I wrote the function taking into account to your comment:
        utilization  = sum(myArray(periodNumber,:)) / LPP;
Thank you so much.


