Hi, I've got a 10×456 matrix where I want to bin the rows into bins of 8 data points each and get the average of the data points in the bins. Ie I want to end up with a 10×57 matrix. This should be fairly easy, however, I'm relatively new to matlab and I got stuck with my for-loop.. I'd be happy if someone could help me with this!
MATLAB: Bin matrix rows into prespecified amount of bins
binning data matrix
Best Answer