Code Monkey home page Code Monkey logo

pascal-fast-fourier-transform's Introduction

Cooley & Tuckey FFT (Pascal Implementation)

A pascal implementation of the Fast Fourier Transform algorithm.

About

This code was written in the context of a Math project at INSA Rouen, France. The purpose was to discover the Fourier Transform, its applications and a numerical way to compute it efficiently. Please excuse the comments in French.

Credit: Includes contributions from Manon Ansart.

Usage

pascal-fft reads the input from the source.d and write the ouput result in result.d. source.d should contain the signal of which you want to compute the Discrete Fourier Transform. It must have one sample per line, formatted as follows:

realPart, imaginaryPart
realPart, imaginaryPart
realPart, imaginaryPart

Example:

1, 0
2, 0
3, 0
4, 0

The result is written in result.d using this same convention. They can then easily be imported as space-separated values in any other program. Example:

 1.00000000000000E+001,  0.00000000000000E+000
-2.00000000000000E+000, -2.00000000000000E+000
-2.00000000000000E+000,  0.00000000000000E+000
-2.00000000000000E+000,  2.00000000000000E+000

Sample source.d and result.d files are included as examples.

Project report

Much more detailed explanations of both the algorithm and the code are included in the project report. Unfortunately, there is only a French version for now. This report was written by Manon Ansart, Daming Li, Merlin Nimier-David and Pei Wang in LaTeX.

pascal-fast-fourier-transform's People

Contributors

merlinnd avatar

Stargazers

Henrik Andersen avatar

Watchers

 avatar Henrik Andersen avatar

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.