Login Page - Create Account

Support Board


Date/Time: Fri, 12 Sep 2025 04:49:27 +0000



Post From: Fast Fourier Transform

[2014-11-11 03:05:48]
ertrader - Posts: 684
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 - 684 views