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 x~(t) be the Fourier series of the rectangular pulse train shown below:

A rectangular pulse train

Fourier Series#

In the previous section we used

Ck=12ππ/wπ/wAejk(Ω0t)d(Ω0t)=A2ππ/wπ/wejk(Ω0t)d(Ω0t)

to compute the line spectra.

From the Time Point of View#

If we instead take a time point-of-view and let A=1

Ck=1Tt0t0ejkΩ0tdt.

Let’s complete the analysis on the virtual whiteboard.






























The Sinc Function#

The function, sin(πx)/πx crops up again and again in Fourier analysis. The Fourier coefficients Ck are scaled samples of the real continuous normalized sinc function defined as follows:

sincu:=sinπuπu,uR.

The function is equal to 1 at u=01 and has zero crossings at u=±n,n=1,2,3, as shown below.

Plot the sinc function#

Plots:

sinc(u)=sinπuπu,uR
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 η=2t0/T 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

Ck=2t0Tsin(πk2t0T)πk2t0T=2t0Tsinc(k2t0T)
Ck=ηsinc(kη)

Normalize the spectral coefficients#

Let us normalize the spectral coefficients of x~(t) by mutiplying them by T, and assume t0 is fixed so that the duty cycle η=2t0/T will decrease as we increase T:

TCk=Tηsinc(kη)=2t0sinc(k2t0T)

Then the normalized coefficents TCk of the rectangular wave is a sinc envelope with constant amplitude at the origin equal to 2t0, and a zero crossing at fixed frequency π/t0 rad/s, both independent of T.

open duty_cycle

Demo

Run duty_cycle with values of:

  • 50% (η=1/2)

  • 25% (η=?)

  • 12.5% (η=?)

  • 5% (η=?)

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 x~(t)

  • The two spectra are plotted against the frequency variable kω0 with units of rad/s rather than index of harmonic component

  • The first zeros of each side of the main lobe are at frequencies ω=±π/t0 rad/s

  • The zero-crossing points of sinc envelope are independent of the period T. They only depend on t0.

Intuition leading to the Fourier Transform#

  • An aperiodic signal that has been made periodic by “repeating” its graph every T 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 T 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:

x(t)=12πX(jω)ejωtdω:=F1{X(jω)}

Similarly, given the expression we have already seen for an arbitrary x(t):

Fourier Transform:

X(jω)=x(t)ejωtdt:=F{x(t)}.

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

f(t)

F(jω)

Remarks

1.

Linearity

a1f1(t)+a2f2(t)++anfn(t)

a1F1(jω)+a2F2(jω)++anFn(jω)

Fourier transform is a linear operator.

2.

Symmetry

2πf(jω)

F(t)

3.

Time and frequency scaling

f(αt)

1|α|F(jωα)

time compression is frequency expansion and vice versa

4.

Time shifting

f(tt0)

ejωt0F(jω)

A time shift corresponds to a phase shift in frequency domain

5.

Frequency shifting

ejω0tf(t)

F(jωjω0)

Multiplying a signal by a complex exponential results in a frequency shift.

6.

Time differentiation

dndtnf(t)

(jω)nF(jω)

7.

Frequency differentiation

(jt)nf(t)

dndωnF(jω)

8.

Time integration

tf(τ)dτ

F(jω)jω+πF(0)δ(ω)

9.

Conjugation

f(t)

F(jω)

10.

Time convolution

f1(t)f2(t)

F1(jω)F2(jω)

Compare with Laplace Transform

11.

Frequency convolution

f1(t)f2(t)

12πF1(jω)F2(jω)

This has application to amplitude modulation as shown in Boulet pp 182—183.

12.

Area under f(t)

f(t)dt=F(0)

Way to calculate DC (or average) value of a signal

13.

Area under F(jω)

f(0)=12πF(jω)dω

14.

Energy-Density Spectrum

E[ω1,ω2]:=12πω1ω2|F(jω)|2dω.

15.

Parseval’s theorem

|f(t)|2dt=12π|F(jω)|2dω.

Definition RMS follows from this

See also: Wikibooks: Engineering Tables/Fourier Transform Properties and Fourier Transfom—WolframMathworld for more complete references.

Examples#

  1. Amplitude Modulation

  2. Impulse response

  3. Energy computation

Example 1: Amplitude Modulation#

Compute the result of multiplying a signal f(t) by a carrier waveform cosωct.

Hint use Euler’s identity and the frequency shift property















Example 2: Impulse response#

A system has impulse response h(t)=etu0(t). Compute the frequency sprectrum H(jω) of this system.















Example 3: Energy computation#

An aperiodic real signal f(t) has Fourier transform F(jω). Compute the energy contained the signal between 5kHz and 10kHz.















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:

e12t22πe12ω2
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)