Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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".


RSEIS

Seismic Time Series Analysis Tools

v3.9-3
GPL (>= 2)
Authors
Jonathan M. Lees [aut, cre], Jake Anderson [ctb], Leonard Lisapaly [ctb], Dave Harris [aut, cph]
Initial release
2020-08-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.