Ok so I have an array <134x106x108>. What I'm trying to do is loop through this array and store the average/standard deviation into another array. So basically there will be 134 <106x108 doubles> that will be in this meanArray and sdArray.
%dayv=<134x106x108>
sdArray=zeros(1,106,108);
meanArray=zeros(1,106,108);
for i=1:size(dayv,1)
%store means/standard deviation into an array
meanArray(i,:,:) = squeeze(mean(dayv(i,:,:)));
sdArray(i,:,:) = squeeze(std(dayv(i,:,:)));
end