Giter Site home page Giter Site logo

samson-mano / fast_fourier_transform Goto Github PK

View Code? Open in Web Editor NEW
39.0 2.0 18.0 1.48 MB

C# implementation of Cooley–Tukey's FFT algorithm.

License: MIT License

C# 100.00%
fourier-transform fft fft-analysis fast-fourier-transform data-processing frequency-domain time-domain cooley-tukey-fft cooley-tukey

fast_fourier_transform's Introduction

Fast Fourier Transform

C# implementation of Cooley–Tukey's FFT algorithm.
Cooley–Tukey's fast Fourier transform (FFT) algorithm is a method for computing the finite Fourier transform of a series of N (complex) data points in approximately N log, N operations. FFT operates on inputs that contain an integer power of two number of samples, the input data length will be augmented by zero padding at the end.
A chart visualizer tool is developed to visualize the input and output data.



Example 1

Simple cosine function 10 hz




Example 2

Summation of cos and sin functions 10, 20 30 and 70 hz





Example 3

Sine sweep 10 to 40 Hz 1G at 0.5 octave



References

https://en.wikipedia.org/wiki/Cooley%E2%80%93Tukey_FFT_algorithm
https://rosettacode.org/wiki/Fast_Fourier_transform#C.23
https://github.com/tha7556/Signal-Processing/blob/master/Signal%20Processing/Project3/Fourier.cs
http://paulbourke.net/miscellaneous/dft/
https://dsp.stackexchange.com/questions/36955/considering-the-fft-of-real-complex-signals
https://www.reed.edu/physics/courses/Physics331.f08/pdf/Fourier.pdf
https://www.gaussianwaves.com/2015/11/interpreting-fft-results-obtaining-magnitude-and-phase-information/
https://www.gaussianwaves.com/2015/11/interpreting-fft-results-complex-dft-frequency-bins-and-fftshift/

Below used for chart visualizer development
https://peltiertech.com/calculate-nice-axis-scales-in-your-excel-worksheet/
https://peltiertech.com/calculate-nice-axis-scales-in-excel-vba/

fast_fourier_transform's People

Contributors

rngillskillz avatar samson-mano avatar swharden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fast_fourier_transform's Issues

process_data.cs at line 43 to 50

So I have a question about the code at the lines of that file do you mean make a 0 in binary? Or do you genuinely mean a power of 2? Because if you do it’s definitely wrong those lines.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.