This note derives how many there are in a dataset (array) of length , each of length with stride between them.

Number of samples that can be created: this value should be floored if we are not zero-padding, and ceiled when zero-padding. is then used to calculate the length of the padded array to produce a longer input source.

When zero-padding, the padded dataset array should be of length Where is the overlap between each window, and there are overlaps.

L & = w + (N_{samples}-1)s\end{align}$$