MATH 414 Lecture 21

From Notes
Jump to navigation Jump to search

« previous | Wednesday, March 5, 2014 | next »


Sampling Theorem

Band-limited function f(t) (this means that f^(λ)=0 for |λ|≥Ω.

f(t)=12π∫−ΩΩf^(ω)eiωtdω
  • Ω is the angular frequency
  • νf=Ω2π is the natural frequency (measured in Hertz)
  • νNy=Ωπ=2νf is the Nyquist rate (or sampling rate)

Note jπΩ=jνNy

Theorem. If f(t) is band-limited, with f^(ω)=0 for |ω|≥Ω, then f(t)=∑j=−∞∞f(jπΩ)sin⁡(Ωt−jπ)Ωt−jπ

Definition:

f(t)=12π∫−ΩΩf^(ω)eiωtdω

Proof. Expand f^(ω) in a Fourier Series on [−Ω,Ω]:

f^(ω)=∑n=−∞∞cneiπnΩωcn=12Ω∫−ΩΩf^(ω)e−iπnωΩdω=2π2Ω12π∫−ΩΩf^(ω)ei(−nπΩ)ωdω=2π2Ωf(−nπΩ)

Use this definition of cn in the series expansion of f^:

f^=∑n=−∞∞cneinπωΩ=∑j=−∞∞c−je−ijπωΩ=∑j=−∞∞2π2Ωf(jπΩ)e−ijπωΩ

Put the series back into the definition and interchange sum & integral (takes a lot of work)

f(t)=12π∫−ΩΩ((∑j=−∞∞2π2Ωf(jπΩ)e−jπωΩ)eiωt)dω=∑j=−∞∞2π2Ωf(jπΩ)∫−ΩΩei(t−jπωΩ)ωdω=∑j=−∞∞2π2Ωf(jπΩ)sin⁡(Ωt−jπ)Ωt−jπ

This recovers f from its samples at jνNy.

quod erat demonstrandum


Discrete Fourier Transform

Way of computing an approximation to coefficients in the Fourier Series f(t)=∑n=−∞∞cneint, where cn=12π∫02πf(t)e−int, given samples at t={2πnj}j=1n.

We know yj=f(2πjn).

We want cn=12π∫02πf(t)e−intdt, so we need a quadrature formula to approximate

∫abf(t)dt=∑j=0nqjf(2πjn)=∑j=0nqjyj

We shall use the composite trapezoidal rule:

∫abf(t)dt≈b−an(12y0+12yn+∑j=1n−1f(a+b−anj))

Suppose f is 2π-periodic (and continuous): a=0, b=2π, and f(t)=f(t+2π). Then y0=f(0) and yn=f(2π), so y0=yn:

∫abf(t)dt≈2πn∑j=0n−1f(2πnj)


Back to the original problem, we wish to evaluate ck=12π∫02πf(t)e−iktdt≈12π(2πn)∑j=0n−1f(2πnj)e−i2πnjk=1n∑j=0n−1yj=ω‾kj

Where ω‾=e−i2πn is the complex conjugate of ω=ei2πn.

We get a nice inversion formula as well:

y^k:=∑j=0n−1yjω‾jk

and

ck≈y^jn

Then

yj=1n∑k=0n−1y^jωjk