View source: R/signal_helpers.R
sig_fft | R Documentation |
Computes the Discrete Fourier Transform (DFT) of an array with a fast algorithm, the “Fast Fourier Transform” (FFT). Wrapper of stats::fft with an extra argument similar to python's numpy.fft.fft.
sig_fft(x, n = NULL)
x |
A vector |
n |
Length of the transformed axis of the output. If |
a <- c(0, 4, 0, 0)
sig_fft(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.