Giter Site home page Giter Site logo

fourier-transform's Introduction

Coding Assignment Signals and Systems

By Agam Kashyap : IMT2018004

The following assignment has been done in MATLAB.

The sampling frequency of the signal is 44100 Hz as can be seen by

disp(Fs); 

Look at the time domain plot of this audio signal

If you were to zoom in, you will notice that it is a discrete and an aperiodic signal. This means that the best Fourier representation to analyse it would be DTFT(Discrete Time Fourier Transform). Since this transformation requires an infinte domain which is not feasible, I used DFT.

Here is the Frequency domain plot of the audio signal obtained by performing Fast Fourier Transform

Now, to apply a filter to the signal I have used an in-built method known as butter().

Applying a low pass filter ceiled at 4kHz to signal

The inverse fourier transform plot for this signal is obtained as:

The audio file corresponding to this is X_LOW.wav

To find the impulse response of the signal, I have utilised the impz() function of MATLAB. As we can see, the impulse response of the almost ideal filter is a sinc function.

Now, similarly for the highpass filter. Applying a high pass filter of 4kHz to signal

The inverse Fourier Transform is:

The audio file corresponding to this is X_Hi.wav

The impulse response for the same is

References

fourier-transform's People

Contributors

agam-kashyap avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

prorooter007

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.