adjust.length: Zero Padding

View source: R/00util.R

adjust.lengthR Documentation

Zero Padding

Description

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.

Usage

adjust.length(inputdata)

Arguments

inputdata

either a text file or an S object containing data.

Value

Zero-padded 1D array.

References

See discussions in the text of “Practical Time-Frequency Analysis”.


Rwave documentation built on Oct. 22, 2022, 1:05 a.m.

Related to adjust.length in Rwave...