Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 23:06:44 +0000



[User Discussion] - Fast Fourier Transform

View Count: 2165

[2014-11-11 03:05:48]
ertrader - Posts: 645
For you c++ experts, how can I code the Discrete Fast Fourier Transform for SC?
(I'm not a C++ expert and have probably done several things wrong..but I'm trying!)

Attached is my attempt at FFT coded from reference C++ code in listing one:
http://www.drdobbs.com/cpp/a-simple-and-efficient-fft-implementatio/199500857

Other options listed in the article look good...I'm just not sure how to code them in SC.

Also, there are precompiled dll's but if there are examples of referencing external dll's, if would be helpful. If you know, can you please provide an example?
http://www.fftw.org/

Regards






attachmentFFT2.cpp - Attached On 2014-11-11 03:05:10 UTC - Size: 2.59 KB - 500 views
[2014-11-11 16:42:42]
ertrader - Posts: 645
Here is a version that compiles but it crashes SC when applied. Any ideas?

Date Time Of Last Edit: 2014-11-11 17:06:32
Attachment Deleted.
attachmentFFT2.cpp - Attached On 2014-11-11 17:06:28 UTC - Size: 2.6 KB - 463 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account