mirror_hermitian_fft | R Documentation |
The FT of a purely real function is hermitian. Exploit this to obtain a full set of FFT values from the values at positive frequencies only (and f=0).
mirror_hermitian_fft(fft_vals, sampling)
fft_vals |
A complex vector containing the FFT values of a function for the frequencies given by sampling$freqs_to_calc (i.e. f=0 as well as the positive ones). |
sampling |
A sampling object, as usually created by
|
A complex vector containing the full set of FFT values at all frequencies (and in the same order as) given by sampling$fft_freqs.
Should be clear, but once again: This function produces false results but **does not throw an error** if the underlying function is not purely real!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.