Skip to content

agam-kashyap/Fourier-Transform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Applying a low pass filter and a high pass filter to a given audio input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages