Where V is your 105120X1 vector of data:
mean(reshape(V,12,[]),1);
And checking using random data:
>> V = randi(999,105120,1);
>> M = mean(reshape(V,12,[]),1);
>> M(1)
ans = 454.50
>> mean(V(1:12))
ans = 454.50
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!