Learn R Programming

RSEIS (version 4.2-4)

jadjust.length: 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

jadjust.length(inputdata)

Value

Zero-padded 1D array.

Arguments

inputdata

either a text file or an S object containing data

References

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