https://se.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.maxpooling1dlayer.html
MaxPooling1DLayer - 1-D max pooling layer - MATLAB
A 1-D max pooling layer performs downsampling by dividing the input into 1-D pooling regions, then computing the maximum of each region.
d maxpoolinglayermatlab