Worksheet 6#
To accompany Unit 4.1 Defining the Fourier Transform#
Colophon#
This worksheet can be downloaded as a PDF file. We will step through this worksheet in class.
An annotatable copy of the notes for this presentation will be distributed before the second class meeting as Worksheet 6 in the Week 5: Classroom Activities section of the Canvas site. I will also distribute a copy to your personal Worksheets section of the OneNote Class Notebook so that you can add your own notes using OneNote.
You are expected to have at least watched the video presentation of Unit 4.1: Defining the Fourier Transform of the notes before coming to class. If you haven’t watch it afterwards!
After class, the lecture recording and the annotated version of the worksheets will be made available through Canvas.
Fourier Transform as the Limit of a Fourier Series#
We start by considering the pulse train that we used in the last lecture and demonstrate that the discrete line spectra for the Fourier Series becomes a continuous spectrum as the signal becomes aperiodic.
This analysis is from Boulet pp 142—144 and 176—180.
Let
Fourier Series#
In the previous section we used
to compute the line spectra.
From the Time Point of View#
If we instead take a time point-of-view and let
Let’s complete the analysis on the virtual whiteboard.
The Sinc Function#
The function,
The function is equal to 1 at
Plot the sinc function#
Plots:
clear all
cd ../matlab
format compact;
setappdata(0, "MKernel_plot_format", 'svg')
x = linspace(-5,5,1000);
plot(x,sin(pi.*x)./(pi.*x))
grid
title('Graph of sinc function')
ylabel('sinc(u)')
xlabel('u')
Duty cycle#
We define the duty cycle
of the rectangular pulse train as the fraction of the time the signal is “on” (equal to 1) over one period.The duty cycle is often given as a percentage.
The spectral coefficients expressed using the normalized sinc function and the duty cycle can be written as
Normalize the spectral coefficients#
Let us normalize the spectral coefficients of
Then the normalized coefficents
open duty_cycle
Demo
Run duty_cycle with values of:
50% (
)
25% (
)
12.5% (
)
5% (
)
Intuition leading to the Fourier Transform#
An aperiodic signal that has been made periodic by “repeating” its graph every
seconds will have a line spectrum that becomes more and more dense as the fundamental period is made longer and longer.The line spectrum has the same continuous envelope.
As
goes to infinity, the line spectrum will become a continuous function of .The envelope is the function that represents the Fourier transform.
Doing the Maths#
See the notes Not Examiminable.
Inverse Fourier Transform:
Similarly, given the expression we have already seen for an arbitrary
Fourier Transform:
Fourier Transform Pair#
The two equations on the previous slide are called the Fourier transform pair.
Properties of the Fourier Transform#
Again, we will provide any properties that you might need in the examination.
You will find a number of these in the accompanying notes.
Table of Properites of the Fourier Transform#
As was the case of the Laplace Transform, properties of Fourier transforms are usually summarized in Tables of Fourier Transform properties. For example this one: Properties of the Fourier Transform (Wikpedia) and Table 8.8 in Karris (page 8-17).
More detail and some commentry is given in the printable version of these notes.
Properties of the Fourier Transform#
No. |
Name |
Remarks |
||
---|---|---|---|---|
1. |
Linearity |
Fourier transform is a linear operator. |
||
2. |
Symmetry |
|||
3. |
Time and frequency scaling |
time compression is frequency expansion and vice versa |
||
4. |
Time shifting |
A time shift corresponds to a phase shift in frequency domain |
||
5. |
Frequency shifting |
Multiplying a signal by a complex exponential results in a frequency shift. |
||
6. |
Time differentiation |
|||
7. |
Frequency differentiation |
|||
8. |
Time integration |
|||
9. |
Conjugation |
|||
10. |
Time convolution |
Compare with Laplace Transform |
||
11. |
Frequency convolution |
This has application to amplitude modulation as shown in Boulet pp 182—183. |
||
12. |
Area under |
Way to calculate DC (or average) value of a signal |
||
13. |
Area under |
|||
14. |
Energy-Density Spectrum |
|||
15. |
Parseval’s theorem |
Definition RMS follows from this |
See also: Wikibooks: Engineering Tables/Fourier Transform Properties and Fourier Transfom—WolframMathworld for more complete references.
Examples#
Amplitude Modulation
Impulse response
Energy computation
Example 1: Amplitude Modulation#
Compute the result of multiplying a signal
Hint use Euler’s identity and the frequency shift property
Example 2: Impulse response#
A system has impulse response
Example 3: Energy computation#
An aperiodic real signal
Computing Fourier Transforms in Matlab#
MATLAB has the built-in fourier and ifourier functions that can be used to compute the Fourier transform and its inverse. We will explore some of these in the next class.
For now, here’s an example:
Example#
Use MATLAB to confirm the Fourier transform pair:
syms t v omega x;
ft = exp(-t^2/2);
Fw = fourier(ft,omega)
pretty(Fw)
Check by computing the inverse using ifourier
ft = ifourier(Fw)
Comments#
As the fundamental period increases, we get more spectral lines packed into the lobes of the sinc envelope.
These normalized spectral coefficients turn out to be samples of the continuous sinc function on the spectrum of
The two spectra are plotted against the frequency variable with units of rad/s rather than index of harmonic component
The first zeros of each side of the main lobe are at frequencies rad/s
The zero-crossing points of sinc envelope are independent of the period T. They only depend on .