Though this doesn't explain all the intricacies behind what determines the number of points in the aforementioned reconstructed signal, I learned that the following equation governs whether the reconstructed signal has the same number of points as the original signal:
some integer = (N - L)/(W - L)
^^ must be true for # of pts in original signal to equal # of pts in reconstructed sample.
- N = number of samples in input signal
- W = length of window (in number of sample points)
- L = number of samples in between where one window starts and the next window starts. For example, there is 0% overlap when L = W.
I found this information in the MATLAB documentation for stftmag2sig under the "x - Reconstructed time-domain signal" dropdown section, which is for one of the output arguments. This documentation is linked below: