Computes the Fast Fourier Transform (FFT) of a numeric vector. Optionally, normalizes the result by dividing it by the length of the input vector.
.fft(x, norm = FALSE)A complex vector representing the FFT of the input signal.
A numeric vector representing the input signal to transform.
A logical value indicating whether to normalize the FFT output
by dividing it by the length of the input vector. Default is FALSE.
This function wraps around the base R stats::fft function and provides an
option for normalization.