function output = mean_var(input_array,size)%#eml

output = mean(input_array(1:size));