"...I cannot figure out a way to take the average of each col[o]umn without manually inputing it. "
Fs = 2048;
segment = 0.25;
Samples_fft = round (Fs * segment);
L_UTR_mean=mean(buffer(L_UTR_Detr, Samples_fft),2);
...
For averaging PSD, fft will operate by column; simply then use MATLAB array operations to operate over each column as if it were a vector then average the result as above.
See documentation for all functions--virtually all have the optional dim input paramter to tell them which dimension you wish to operate over if not the default by column.
Some, like std are tricky in that the dim input isn't the second so you may need to use a placeholder to get the desired argument.
Best Answer