Add zeros to the end of the data if necessary so that its length is a power of 2. It returns the data with zeros added if nessary and the length of the adjusted data.
either a text file or an S object containing data
Zero-padded 1D array.
See discussions in the text of "Practical Time-Frequency Analysis".