TradingView
RicardoSantos
11 Th10 2021 10:36

MathSpecialFunctionsDiscreteFourierTransform 

Bitcoin / U.S. dollarBitstamp

Mô tả

Library "MathSpecialFunctionsDiscreteFourierTransform"
Method for Complex Discrete Fourier Transform (DFT).

dft(inputs, inverse) Complex Discrete Fourier Transform (DFT).
Parameters:
  • inputs: float array, pseudo complex array of paired values [(a0+b0i), ...].
  • inverse: bool, invert the transformation.

Returns: float array, pseudo complex array of paired values [(a0+b0i), ...].
Bình luận
Maximalist1997
Ricardo thanks for this! May you explain how to use that? What does those numbers mean? Thanks in advance, amazing coding skilss!
RicardoSantos
further reading:
en.wikipedia.org/wiki/Discrete_Fourier_transform
gaussianwaves.com/2015/11/interpreting-fft-results-complex-dft-frequency-bins-and-fftshift/

note this is a continuation from this publishing:
tradingview.com/script/XXBfMnVE-Function-Discrete-Fourier-Transform/

please note this may not be final, and may contain bugs, usage must be based on your due diligence!
Thêm nữa