Description Usage Arguments Details Value Examples
This function calculates the number of independent values in Discrete Fourier Transform calculations of real signals.
1 |
N |
Number of samples in a signal. |
When calculating the Discrete Fourier Transform (DFT) of real signals, there is a symmetry on the resulting values:
X_k = X^*_{N-k}
where X is the discrete Fourier transform of the signal. The number of independent values in the signal depends on whether the length of the signal is even or odd. This function returns the correct number for any case.
Number of indepent (complex) values in the DFT of the signal.
1 2 | print(fourierNumUtil(10))
print(fourierNumUtil(11))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.