Review of Concepts from Fourier & Filtering Theory. Fourier theory for finite sequences. convolution/filtering of infinite sequences filter cascades

Size: px
Start display at page:

Download "Review of Concepts from Fourier & Filtering Theory. Fourier theory for finite sequences. convolution/filtering of infinite sequences filter cascades"

Transcription

1 Review of Concepts from Fourier & Filtering Theory precise definition of DWT requires a few basic concepts from Fourier analysis and theory of linear filters will start with discussion/review of: basic ideas behind Fourier analysis of time series Fourier theory for infinite sequences convolution/filtering of infinite sequences filter cascades Fourier theory for finite sequences circular convolution/filtering of finite sequences periodization of a filter WMTSA: Chapter 2 III 1

2 What is Fourier Analysis?: I one of the most widely used methods for data analysis in geophysics oceanography atmospheric science astronomy engineering (all types) etc. used to analyze time series (observations collected over time) let X t denote value of time series at time indexed by t example: X 89 = 65 = temperature in Loew Hall 105 at 1PM on day 89 of 2018 (30th March) III 2

3 What is Fourier Analysis?: II four examples of time series X 0, X 1,..., X 127 X t X t t t Q: how would you describe these 4 series? Fourier analysis does so by comparing X t s to sines & cosines (note: will collectively refer to sines & cosines as sinusoids ) Q: what do sines and cosines have to do with time series? III 3

4 What is Fourier Analysis?: III let s plot sin(u) and cos(u) versus u as u goes from 0 to 4π: π 4π 0 2π 4π u u let u = 2π128 2 t for t = 0, 1,..., 127 now let s plot sin(2π t) and cos(2π 2 128t) versus t: t t artificial time series exhibiting 2 cycles over time span of 128 (meaning of called frequency f of the sinusoid) III 4

5 Adding Sines & Cosines with Different Frequencies t t t f = 1/128 f = 3/128 f = 5/128 f = 7/128 f = 9/128 f = 11/128 f = 13/128 f = 15/128 f = 17/128 f = 19/128 sinusoid amplitudes fixed in column 1, but random in 2 & 3 III 5 X t

6 What is Fourier Analysis?: IV conclusion: by summing up lots of sinusoids with different amplitudes, can get artificial X t s that resemble actual X t s goal of Fourier analysis: given a time series X t, figure out how to construct it using sinusoids; i.e., to write X t = X A k sin(2πf k t) + B k cos(2πf k t), k where f k s are a collection of different frequencies above called Fourier representation for a time series allows us to reexpress time series in a standard way different time series will need different A k s and B k s can compare time series by comparing their A k s and B k s III 6

7 Some Notation, Conventions and Basic Facts: I easier to do Fourier theory by not dealing with sinusoids directly i 1 and hence i 2 = 1, i 3 = i & i 4 = 1 (note: means equal by definition ) if x & y are real-valued variables, z = x + iy is complex-valued z x iy, z x 2 + y 2 and z 2 = zz and e ix cos(x) + i sin(x) is definition of a complex exponential e ix 2 = 1 because cos 2 (x) + sin 2 (x) = 1 e i(x+y) = e ix e iy just expand out both sides (e ix ) n = e inx for integer n (de Moivre s theorem) e ix dx = eix i because i sin(x)+cos(x) cos(x) + i sin(x) dx = sin(x) i cos(x) = i WMTSA: III 7

8 Some Notation, Conventions and Basic Facts: II since e ix = cos(x) + i sin(x) & e ix = cos(x) i sin(x), have cos(x) = eix +e ix 2 and sin(x) = eix e ix 2i e ±iπ = 1 (trivial, but useful!) can write z = z e iθ (polar representation) z is magnitude of z ( z is nonnegative) θ = arg(z) is argument of z (defined if z 6= 0); θ = angle between positive x axis & line to (x, y) by convention π < θ π (x, y) θ z = x + iy z is length of line from (0, 0) to (x, y) WMTSA: III 8

9 Fourier Theory for Infinite Sequences: I let {a t : t =..., 1, 0, 1,...} = {a t } denote an infinite realvalued sequence satisfying t a2 t < (do not need stronger condition t a t < addendum to overheads has details) discrete Fourier transform (DFT) of {a t }: A(f) a t e i2πft t= f called frequency: e i2πft = cos(2πft) i sin(2πft) (controls how fast cosine & sine go up & down as t increases) A( ) called Fourier analysis of {a t } (note: A( ) is function, while A(f) is value of A( ) at f) WMTSA: III 9

10 Fourier Theory for Infinite Sequences: II A(f) defined for all f, but 0 f 1/2 of main interest because {a t } is real-valued, A( f) = X t= a t e i2πft = X t= a t e i2πft = A (f) A( ) periodic with unit period; i.e., A(f + 1) = A(f) since e i2π(f+1)t = e i2πft e i2πt = e i2πft [cos(2πt) i sin(2πt)] = e i2πft implies A(f + j) = A(f) for any integer j need only know A(f) for 0 f 1/2 to know it for all f low frequencies are those in lower range of [0, 1/2] high frequencies are those in upper range of [0, 1/2] WMTSA: 22 III 10

11 Fourier Theory for Infinite Sequences: III can reconstruct {a t } from its Fourier transform (Exercise [22c]): Z 1/2 1/2 A(f)e i2πft df = a t, t =..., 1, 0, 1,... left-hand side called inverse DFT of A( ) {a t } and A( ) are two representations for one thingy notation: {a t } A( ) means DFT of {a t } is A( ): A(f) = P t a te i2πft inverse DFT of A( ) is {a t }: a t = R 1/2 1/2 A(f)ei2πft df large A(f) says e i2πft important in synthesizing {a t }; i.e., {a t } resembles some combination of cos(2πft) and sin(2πft) WMTSA: III 11

12 Fourier Theory for Infinite Sequences: IV if {a t } A( ) & {b t } B( ), then X Z 1/2 a t b t = A(f)B (f) df t= 1/2 two sequence Parseval s theorem (Exercise [23a]) setting b t = a t yields one sequence Parseval: X Z 1/2 a 2 t = A(f) 2 df t= 1/2 (key to energy decomposition across frequencies) WMTSA: 23 III 12

13 Fourier Theory for Infinite Sequences: V suppose {a t : t = 0,..., N 1} is finite sequence extend to infinite sequence by setting a t = 0 for t < 0 & t N DFT is then A(f) X t= a t e i2πft = N 1 X t=0 a t e i2πft notation: {a t : t = 0,..., N 1} A( ); i.e., zero extension is implicit will use shorthand {a t } A( ) if t = 0,..., N 1 is clear from context WMTSA: 23 III 13

14 Examples of Fourier Transforms of Infinite Sequences consider a t = t t and bt = a t {a.... t }... {b t } t t 2 0 A( ) B( ) blue is real part red is imaginary part f f because {a t } is symmetric about t = 0 (i.e., a t = a t ), its DFT A( ) is real-valued {b t } is asymmetric, so its DFT B( ) is complex-valued III 14

15 Convolution of Infinite Sequences: I given {a t } A( ) and {b t } B( ), define X a b t a u b t u, t =..., 1, 0, 1,... u= note: a b t is just a fancy variable name (could have used c t ) sequence {a b t } is convolution of {a t } and {b t } reverse direction of {b t }, multiply by {a t } & sum to get a b 0 shift {b t } and repeat to get other values a b t a 1 a 0 a 1 a 2 a 3 a b 0 = P u= a ub u b 1 b 0 b 1 b 2 b 3 WMTSA: 24 III 15

16 Convolution of Infinite Sequences: I given {a t } A( ) and {b t } B( ), define X a b t a u b t u, t =..., 1, 0, 1,... u= note: a b t is just a fancy variable name (could have used c t ) sequence {a b t } is convolution of {a t } and {b t } reverse direction of {b t }, multiply by {a t } & sum to get a b 0 shift {b t } and repeat to get other values a b t a 1 a 0 a 1 a 2 a 3 a b 1 = P u= a ub 1 u b 2 b 1 b 0 b 1 b 2 WMTSA: 24 III 15

17 Convolution of Infinite Sequences: I given {a t } A( ) and {b t } B( ), define X a b t a u b t u, t =..., 1, 0, 1,... u= note: a b t is just a fancy variable name (could have used c t ) sequence {a b t } is convolution of {a t } and {b t } reverse direction of {b t }, multiply by {a t } & sum to get a b 0 shift {b t } and repeat to get other values a b t a 1 a 0 a 1 a 2 a 3 a b 2 = P u= a ub 2 u b 3 b 2 b 1 b 0 b 1 WMTSA: 24 III 15

18 Convolution of Infinite Sequences: I given {a t } A( ) and {b t } B( ), define X a b t a u b t u, t =..., 1, 0, 1,... u= note: a b t is just a fancy variable name (could have used c t ) sequence {a b t } is convolution of {a t } and {b t } reverse direction of {b t }, multiply by {a t } & sum to get a b 0 shift {b t } and repeat to get other values a b t a 1 a 0 a 1 a 2 a 3 a b 3 = P u= a ub 3 u b 4 b 3 b 2 b 1 b 0 WMTSA: 24 III 15

19 Convolution of Infinite Sequences: II DFT of {a b t } has a simple form, namely, X a b t e i2πft = A(f)B(f); t= i.e., just multiply two DFTs together (Exercise [24]) can state this result as {a b t } A( )B( ) related concept is (complex) cross-correlation: X X a? b t = a ub u+t = a u b u+t A (f)b(f) u= u= letting b t = a t yields autocorrelation: X a u a u+t A (f)a(f) = A(f) 2 u= WMTSA: III 16

20 Basic Concepts of Filtering: I convolution & linear time invariant filtering are same concepts: {b t } is input to filter {a t } represents the filter {a b t } is output from filter flow diagram for filtering: {b t } {a t } {a b t } or {b t } a t {a bt } since {a t } equivalent to A( ), can also express flow diagram as {b t } A( ) {a b t } WMTSA: 25 III 17

21 Basic Concepts of Filtering: II {a t } called impulse response sequence for filter A( ) called transfer function for filter in general A( ) is complex-valued, so write A(f) = A(f) e iθ(f) A(f) defines gain function A(f) A(f) 2 defines squared gain function θ(f) called phase function (well-defined at f if A(f) > 0) WMTSA: 25 III 18

22 consider b t = Example of a Low-Pass Filter 45 t t & at = 1 2, t = 0 1 4, t = 1 or 1 0, otherwise {b t } {a... t }... {a b t } t t t 2 1 B( ) A( ) A( )B( ) f f f note: A( ) & B( ) are both real-valued (equal to gain functions) WMTSA: III 19

23 Example of a High-Pass Filter consider same {b t }, but now let a t = 0 1 2, t = 0 1 4, t = 1 or 1 0, otherwise {b t }.... {a... t }.... {a b... t } t t t 2 1 B( ) A( ) A( )B( ) f f f might regard {a t } as highly discretized Mexican hat wavelet WMTSA: III 20

24 Cascade of Filters: I idea: output from one filter becomes input to another flow diagram for cascade with 2 filters (can have more!): {b t } A 1 ( ) 1. A 2 ( ) 2. {a b t } if {b t } B( ) and {a b t } C( ), then 1. output from A 1 ( ) has DFT A 1 (f)b(f) 2. output from A 2 ( ) has DFT A 2 (f)a 1 (f)b(f) so C(f) = A 2 (f)a 1 (f)b(f) let A(f) A 2 (f)a 1 (f) can reexpress overall effect of filter cascade as {b t } A( ) {a b t } WMTSA: III 21

25 Cascade of Filters: II A( ) is transfer function for equivalent filter for cascade let {a t } A( ), {a 1,t } A 1 ( ) and {a 2,t } A 2 ( ) to form {a t }, just need to convolve {a 1,t } and {a 2,t } 1 2, t = 1 1 2, t = 0 example: a 1,t = 1 2, t = 0 & a 2,t = 1 2, t = 1 0, otherwise 0, otherwise a 1, 3 a 1, 2 a 1, 1 a 1,0 a 1,1 a 1,2 a 2 = P a 2,1 a 2,0 a 2, 1 a 2, 2 a 2, 3 a 2, 4 u= a 1,ua 2, 2 u WMTSA: III 22

26 Cascade of Filters: II A( ) is transfer function for equivalent filter for cascade let {a t } A( ), {a 1,t } A 1 ( ) and {a 2,t } A 2 ( ) to form {a t }, just need to convolve {a 1,t } and {a 2,t } 1 2, t = 1 1 2, t = 0 example: a 1,t = 1 2, t = 0 & a 2,t = 1 2, t = 1 0, otherwise 0, otherwise a 2 = WMTSA: III 22

27 Cascade of Filters: II A( ) is transfer function for equivalent filter for cascade let {a t } A( ), {a 1,t } A 1 ( ) and {a 2,t } A 2 ( ) to form {a t }, just need to convolve {a 1,t } and {a 2,t } 1 2, t = 1 1 2, t = 0 example: a 1,t = 1 2, t = 0 & a 2,t = 1 2, t = 1 0, otherwise 0, otherwise a 1 = WMTSA: III 22

28 Cascade of Filters: II A( ) is transfer function for equivalent filter for cascade let {a t } A( ), {a 1,t } A 1 ( ) and {a 2,t } A 2 ( ) to form {a t }, just need to convolve {a 1,t } and {a 2,t } 1 2, t = 1 1 2, t = 0 example: a 1,t = 1 2, t = 0 & a 2,t = 1 2, t = 1 0, otherwise 0, otherwise a 0 = WMTSA: III 22

29 Cascade of Filters: II A( ) is transfer function for equivalent filter for cascade let {a t } A( ), {a 1,t } A 1 ( ) and {a 2,t } A 2 ( ) to form {a t }, just need to convolve {a 1,t } and {a 2,t } 1 2, t = 1 1 2, t = 0 example: a 1,t = 1 2, t = 0 & a 2,t = 1 2, t = 1 0, otherwise 0, otherwise a 1 = WMTSA: III 22

30 Cascade of Filters: II A( ) is transfer function for equivalent filter for cascade let {a t } A( ), {a 1,t } A 1 ( ) and {a 2,t } A 2 ( ) to form {a t }, just need to convolve {a 1,t } and {a 2,t } 1 2, t = 1 1 2, t = 0 example: a 1,t = 1 2, t = 0 & a 2,t = 1 2, t = 1 0, otherwise 0, otherwise a 2 = WMTSA: III 22

31 Cascade of Filters: III gives high-pass filter seen earlier: a t = filter {b t } with {a 1,t } to get, say, {a 1 b t }: 0 1 2, t = 0 1 4, t = 1 or 1 0, otherwise {b t } {a 1,t } {a b t } t t t 2 0 B( ) A 1 ( ) A 1 ( )B( ) f f f WMTSA: III 23

32 Cascade of Filters: IV filter {a 1 b t } with {a 2,t } to get same {a b t } as before: 0. {a b t }.... {a 2,t }.... {a b... t } t t t 2 0 A 1 ( )B( ) A 2 ( ) A( )B( ) = A 2 ( )A 1 ( )B( ) f f f cascade of M filters of widths L 1,..., L M has {a t } of width MX L = L m M + 1 (Exercise [28a]) m=1 (check on above example with M = 2: L = = 3) WMTSA: III 24

33 Fourier Theory for Finite Sequences: I let {a t : t = 0, 1,..., N 1} = {a t } denote a finite sequence (same shorthand as for infinite sequence don t get confused!) discrete Fourier transform (DFT) of {a t }: A k N 1 X t=0 a t e i2πf kt, with f k k N & k = 0, 1,..., N 1 note: can define A k for all k, but {A k : k = 0, 1,..., N 1} is DFT (sequence indexed by all integers k is periodic with a period of N; i.e., A k+n = A k ) A k is associated with frequency f k, and 0 f k < 1 A k for 0 f k 1/2 of main interest because A N k = A k (if N even, k = 0,..., N/2 index the frequencies of interest) WMTSA: 28 III 25

34 Fourier Theory for Finite Sequences: II can recover {a t } from its DFT {A k } (Exercise [29a]): 1 N N 1 X k=0 A k e i2πf kt = a t, t = 0, 1,..., N 1; left-hand side called inverse DFT of {A k } {a t } and {A k } are two representations for one thingy relationship between {a t } and {A k } denoted by {a t } {A k } or, less formally, by a t A k can define a t for t < 0 & t N via inverse DFT: {a t : t =..., 1, 0, 1,...} periodic with period N WMTSA: 29 III 26

35 Fourier Theory for Finite Sequences: III if {a t } {A k } & {b t } {B k }, then N 1 X t=0 a t b t = 1 N N 1 X k=0 A k B k two sequence Parseval s theorem (Exercise [29b]) setting b t = a t yields one sequence Parseval: N 1 X t=0 a 2 t = 1 N N 1 X k=0 A k 2 WMTSA: 29 III 27

36 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

37 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

38 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

39 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

40 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

41 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

42 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

43 Examples of Fourier Transforms of Finite Sequences two time series {X t } of length N = 16 and their DFTs {X k } X t X k t or k t or k blue is real part red is imaginary part series differ only at t = 13, but their DFTs differ at all k note that X 16 k = X k for k = 1, 2, 3, 4, 5, 6 and 7 WMTSA: 42, 49 III 28

44 Convolution/Filtering of Finite Sequences: I given {a t } & {b t } of length N with DFTs {A k } & {B k }, define a b t N 1 X u=0 a u b t u, t = 0, 1,..., N 1 assumes b t defined for t < 0 by periodic extension; thus b 1 = b N 1, b 2 = b N 2, b 3 = b N 3 etc equivalent definition, but with periodicity explicitly stated a b t N 1 X u=0 a u b t u mod N, t = 0, 1,..., N 1 k mod N k if 0 k N 1; if not, k mod N k + nn, where n is unique integer such that 0 k + nn N 1; thus b 0 mod N = b 0, b 1 mod N = b N 1, b 2 mod N = b N 2 etc. WMTSA: III 29

45 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 0 b 7 a 6 b 1 b 2 b 6 a 2 a b 0 = P 7 u=0 a ub u mod 8 a 5 b 3 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 4 a 4 b 5 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

46 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 1 b 0 a 6 b 2 b 3 b 7 a 2 a b 1 = P 7 u=0 a ub 1 u mod 8 a 5 b 4 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 5 a 4 b 6 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

47 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 2 b 1 a 6 b 3 b 4 b 0 a 2 a b 2 = P 7 u=0 a ub 2 u mod 8 a 5 b 5 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 6 a 4 b 7 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

48 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 3 b 2 a 6 b 4 b 5 b 1 a 2 a b 3 = P 7 u=0 a ub 3 u mod 8 a 5 b 6 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 7 a 4 b 0 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

49 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 4 b 3 a 6 b 5 b 6 b 2 a 2 a b 4 = P 7 u=0 a ub 4 u mod 8 a 5 b 7 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 0 a 4 b 1 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

50 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 5 b 4 a 6 b 6 b 7 b 3 a 2 a b 5 = P 7 u=0 a ub 5 u mod 8 a 5 b 0 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 1 a 4 b 2 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

51 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 6 b 5 a 6 b 7 b 0 b 4 a 2 a b 6 = P 7 u=0 a ub 6 u mod 8 a 5 b 1 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 2 a 4 b 3 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

52 Convolution/Filtering of Finite Sequences: II sequence {a b t } called circular (cyclic) convolution a 0 a 1 a 7 b 7 b 6 a 6 b 0 b 1 b 5 a 2 a b 7 = P 7 u=0 a ub 7 u mod 8 a 5 b 2 DFT of {a b t } again has a simple form (Exercise [30]): N 1 X t=0 i.e., {a b t } {A k B k } b 3 a 4 b 4 a 3 a b t e i2πf kt = A k B k ; WMTSA: III 30

53 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 0 b 7 b6 b 2 b 1 a? b 0 = P 7 a 6 u=0 a ub u b 3 b 4 b 5 a 3 a 5 a 4 WMTSA: III 31

54 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 1 b 0 b7 b 3 b 2 a? b 1 = P 7 a 6 u=0 a ub u+1 mod 8 b 4 b 5 b 6 a 3 a 5 a 4 WMTSA: III 31

55 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 2 b 1 b0 b 4 b 3 a? b 2 = P 7 a 6 u=0 a ub u+2 mod 8 b 5 b 6 b 7 a 3 a 5 a 4 WMTSA: III 31

56 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 3 b 2 b1 b 5 b 4 a? b 3 = P 7 a 6 u=0 a ub u+3 mod 8 b 6 b 7 b 0 a 3 a 5 a 4 WMTSA: III 31

57 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 4 b 3 b2 b 6 b 5 a? b 4 = P 7 a 6 u=0 a ub u+4 mod 8 b 7 b 0 b 1 a 3 a 5 a 4 WMTSA: III 31

58 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 5 b 4 b3 b 7 b 6 a? b 5 = P 7 a 6 u=0 a ub u+5 mod 8 b 0 b 1 b 2 a 3 a 5 a 4 WMTSA: III 31

59 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 6 b 5 b4 b 0 b 7 a? b 6 = P 7 a 6 u=0 a ub u+6 mod 8 b 1 b 2 b 3 a 3 a 5 a 4 WMTSA: III 31

60 Convolution/Filtering of Finite Sequences: III related concept is complex cross-correlation: a? b t N 1 X u=0 for which {a? b t } {A k B k} a ub u+t mod N t = 0, 1,..., N 1, a 0 a 1 a 7 a 2 b 7 b 6 b5 b 1 b 0 a? b 7 = P 7 a 6 u=0 a ub u+7 mod 8 b 2 b 3 b 4 a 3 a 5 a 4 WMTSA: III 31

61 Convolution/Filtering of Finite Sequences: IV with {a t } {A k }, can obtain {a? b t } by filtering {b t } with filter {A k } (Exercise [31]) flow diagram for circular filtering: {b t } {a t } {a b t } or {b t } {A k } {a b t } (latter cannot be mistaken for infinite sequence case) sometimes convenient to simplify the above to {b t } a t {a b t } or {b t } A k {a b t } or to just b t a t a b t or b t A k a b t WMTSA: III 32

62 Periodized Filters: I circular filters of length N often constructed implicitly let {b t : t = 0,..., N 1} be a finite sequence, and consider using {a t : t = 0, 1,..., M 1} to form a b t = M 1 X u=0 a u b t u mod N, t = 0,..., N 1 resembles circular filtering: input {b t }, output {a b t }, but {a t } is a sequence of width M (need not be equal to N) if M < N, can write a b t = M 1 X u=0 a u b t u mod N = N 1 X u=0 by defining a t = 0 for t = M,..., N 1 a u b t u mod N WMTSA: 32 III 33

63 Periodized Filters: II if M > N, define a t = 0 for all t M so that M 1 X X a b t = a u b t u mod N = a u b t u mod N u=0 u=0 split infinite sum into sum of sums over N terms: a b t = N 1 X u=0 a u b t u mod N + 2N 1 X u=n a u b t u mod N + rewrite each sum so that u goes from 0 to N 1: a b t = N 1 X u=0 a u b t u mod N + N 1 X u=0 a u+n b t u N mod N + WMTSA: III 34

64 Periodized Filters: III use fact that, for any integer n, to get a b t = t u nn mod N = t u mod N N 1 X u=0 a u b t u mod N + N 1 X u=0 a u+n b t u mod N + collect multipliers of b t u mod N together & call their sum a u: N 1 X X N 1 X a b t = a u+nn b t u mod N a ub t u mod N u=0 n=0 u=0 WMTSA: III 35

65 Periodized Filters: IV {a t } is {a t} periodized to length N and is formed by chopping zero-padded {a t } into finite sequences of length N: a 0, a 1,..., a {z N 1, a } N, a N+1,..., a 2N 1,... {z } block n=0 block n=1 adding finite sequences element by element: block n = 0: a 0 a 1 a N block n = 1: a N a N+1 a 2N periodized filter: a 0 a 1 a N 1 WMTSA: 33 III 36

66 Periodized Filters: V as example, let s periodize {a 0, a 1, a 2, a 3, a 4, a 5 } to length 4 extend with zeros and chop into blocks of length 4: a 0, a 1 {z, a 2, a } 3, a 4, a {z 5, 0, 0 }, 0, 0, {z 0, 0 },... block n=0 block n=1 block n=2 add blocks element by element: block n = 0: a 0 a 1 a 2 a block n = 1: a 4 a periodized filter: a 0 + a 4 a 1 + a 5 a 2 a 3 yields a 0 = a 0 + a 4, a 1 = a 1 + a 5, a 2 = a 2 and a 3 = a 3 III 37

67 Periodized Filters: VI as a second example, let s periodize a filter of width M = 46 to length N = 16, which, after padding with two zeros, goes as follows:... at, t = 0,..., 47 III 38

68 Periodized Filters: VI as a second example, let s periodize a filter of width M = 46 to length N = 16, which, after padding with two zeros, goes as follows:... at, t = 0,..., 47 block n = 0 n = 1 n = 2 III 38

69 Periodized Filters: VI as a second example, let s periodize a filter of width M = 46 to length N = 16, which, after padding with two zeros, goes as follows:... block n = 0 n = 1 n = a t, t = 0,..., 15 a t, t = 16,..., 31 a t, t = 32,..., 47 a t, t = 0,..., 47 III 38

70 Periodized Filters: VI as a second example, let s periodize a filter of width M = 46 to length N = 16, which, after padding with two zeros, goes as follows:... block n = 0 n = 1 n = a t, t = 0,..., 15 a t, t = 16,..., 31 a t, t = 32,..., 47 a t, t = 0,..., 15 a t, t = 0,..., 47 III 38

71 Periodized Filters: VII have set a t = 0 for all t M; now set a t = 0 for all t < 0 also DFT of infinite sequence {a t } given by A(f) = X a t e i2πft = M 1 X a t e i2πft t= t=0 Exercise [33]: DFT of {a t : t = 0,..., N 1} is given by {A( N k ) : k = 0,..., N 1} periodization equivalent to sampling in frequency domain result holds for M < N, M = N or M > N (and for starting values of t other than 0) WMTSA: 33 III 39

72 Periodized Filters: VIII in terms of a flow diagram, can thus express as a b t = M 1 X u=0 a u b t u mod N, t = 0,..., N 1, {b t } {A( k N )} {a b t} or {b t } A( k N ) {a b t} variation on the above: place N elements of {b t } into vector B place N elements of {a b t } into vector C can then reexpress flow diagram as B A( k N ) C above is most common form of flow diagram WMTSA: 33 III 40

73 Summary of Fourier/Filtering Theory: I {a t : t =..., 1, 0, 1,...} = {a t } has DFT X A(f) a t e i2πft inverse DFT says that a t = Z 1/2 1/2 t= A(f)e i2πft df relationship between {a t } and A( ) denoted by {a t } A( ) or, less formally, by a t A(f) WMTSA: III 41

74 Summary of Fourier/Filtering Theory: II given {a t } A( ) and {b t } B( ), their convolution X a b t a u b t u, t =..., 1, 0, 1,..., u= has a DFT given by X t= a b t e i2πft = A(f)B(f) {a b t } is output from filter with impulse response sequence {a t } and transfer function A( ) related by {a t } A( ) can express filtering operation in a flow diagram as either {b t } {a t } {a b t } or {b t } A( ) {a b t } WMTSA: III 42

75 Summary of Fourier/Filtering Theory: III {a t : t = 0, 1,..., N 1} = {a t } has DFT A k N 1 X t=0 inverse DFT says that a t e i2πf kt, with f k k N a t = 1 N N 1 X k=0 & k = 0, 1,..., N 1 A k e i2πf kt, t = 0, 1,..., N 1 relationship between {a t } and {A k } denoted by {a t } {A k } or, less formally, by a t A k WMTSA: III 43

76 Summary of Fourier/Filtering Theory: IV given {a t } & {b t } of length N with DFTs {A k } & {B k }, their circular convolution a b t N 1 X u=0 has a DFT given by a u b t u mod N, t = 0, 1,..., N 1, N 1 X t=0 a b t e i2πf kt = A k B k {a b t } is output from circular filtering operation expressed as {b t } a t {a b t } or {b t } A k {a b t } WMTSA: III 44

77 Summary of Fourier/Filtering Theory: V given {a t } of width M & {b t }, can express a b t = M 1 X u=0 a u b t u mod N, t = 0,..., N 1, as (assuming a t 0 for t < 0 and t M) a b t = N 1 X u=0 a ub t u mod N, where a u X a u+nn n= DFT of {a t } given by A( N k ), k = 0,..., N 1, where X M 1 A(f) a t e i2πft X = a t e i2πft t= t=0 WMTSA: III 45

78 Summary of Fourier/Filtering Theory: VI can represent this type of filtering operation as either {b t } A( k N ) {a b t} or B A( k N ) C where B & C are vectors of length N containing {b t } & {a b t } WMTSA: III 46

79 Summary of Fourier/Filtering Theory: VII can achieve effect of cascade with L filters {b t } A 1 ( ) A 2 ( ) A L ( ) {a b t } by using a single equivalent filter LY {b t } A( ) {a b t }, where A(f) = A l (f) similarly, effect of cascade with L circular filters B A 1 ( N k ) A 2( N k ) A L( N k ) C can be achieved using a single equivalent circular filter L B A( N k ) C, where A( N k ) = Y A l ( N k ) l=1 l=1 WMTSA: III 47

80 Do We Need t a t < for DFT to Exist?: I for real-valued infinite sequence {a t : t =..., 1, 0, 1,...}, have stated that t a2 t < is sufficient for DFT A(f) a t e i2πft to exist and to be well-defined t= note that t a2 t < does not imply t a t < might seem we need stronger condition t a t < since A(0) = a t = a t t= t= if a t 0 for all t, opening up possibility A(0) = if we only assume t a2 t < WMTSA: III Addendum 1

81 Do We Need t a t < for DFT to Exist?: II in fact, t a2 t < is sufficient, as per following argument (see, e.g., Section 1.3 of L.H. Koopmans, The Spectral Analysis of Time Series, Academic Press, 1974) let L 2 ( 1 2, 1 2 ) denote collection of all complex-valued functions A( ) such that 1/2 1/2 A(f) 2 df < (need to interpret above integral as Lebesgue integral) can regard L 2 ( 1 2, 1 2 ) as Hilbert space with inner product A( ), B( ) = 1/2 1/2 A(f)B (f) df III Addendum 2

82 Do We Need t a t < for DFT to Exist?: III can argue that E t (f) e i2πft for t = 0, ±1,... form a complete orthonormal sequence in L 2 ( 1 2, 1 2 ) hence A( ) L 2 ( 1 2, 1 2 ) if and only if there exists a sequence of complex numbers {a t, t = 0, ±1,...} with t a t 2 < such that A(f) = a t E t (f) = a t e i2πft where t= a t = A( ), E t ( ) = 1/2 1/2 t= A(f)e i2πft df III Addendum 3

83 Do We Need t a t < for DFT to Exist?: IV let l 2 be set all complex-valued sequences {a t } such that a t 2 < t= can regard l 2 as Hilbert space with inner product {a t }, {b t } = a t b t thus A(f) = t= t= a t e i2πft and a t = 1/2 1/2 A(f)e i2πft df give a one-to-one mapping (the DFT) from L 2 ( 1 2, 1 2 ) onto l 2 that can be shown to preserve inner products III Addendum 4

84 Do We Need t a t < for DFT to Exist?: V second heuristic proof (not based on Hilbert space theory) for integer m 0, let m A m (f) a t e i2πft, t= m i.e., DFT of finite sequence {a t : t = m,..., m} one-sequence Parseval s theorem says m 1/2 a 2 t = A m (f) 2 df t= m 1/2 (solution to Exercise [23a] gives rigorous proof for finite sums) III Addendum 5

85 Do We Need t a t < for DFT to Exist?: VI hence t= a 2 t = lim m m t= m a 2 t = = = 1/2 m lim 1/2 1/2 1/2 1/2 1/2 A m (f) 2 df lim m A m(f) 2 df A(f) 2 df (note: need to justify interchange of limit and integration using argument such as provided by Vitali convergence theorem) III Addendum 6

86 Do We Need t a t < for DFT to Exist?: VII hence A( ) is square-integrable over interval [ 1 2, 1 2 ] if B( ) is also square-integrable over [ 2 1, 1 2 ], Cauchy Schwarz inequality (CSI) says 1/2 2 A(f)B 1/2 1/2 (f) df A(f) 2 df B(f) 2 df 1/2 1/2 1/2 letting B(f) = e i2πft in above says that 1/2 2 A(f)e i2πft 1/2 df A(f) 2 df < 1/2 1/2 III Addendum 7

87 Do We Need t a t < for DFT to Exist?: VIII hence 1/2 is finite for all t 1/2 A(f)e i2πft df ã t final step is to argue that we must have ã t = a t for DFT A m ( ) of finite sequence {a t : t = m,..., m}, have 1/2 1/2 A m (f)e i2πft df = a t for all m t (solution to Exercise [22c] gives rigorous proof for finite sums) III Addendum 8

88 Do We Need t a t < for DFT to Exist?: IX thus, for m t, ã t a t 2 = = 1/2 1/2 1/2 1/2 1/2 1/2 m (A(f) A m (f)) e i2πft df 2 A(f) A m (f) df A(f) A m (f) 2 df a 2 u + a 2 u 0 u= u=m as m, which completes the proof 2 (using CSI) III Addendum 9

89 Do We Need t a t < for DFT to Exist?: X thus stronger condition t a t < is sufficient but not necessary for DFT to exist example of real-valued sequence for which t a t = but t a2 t < is a t = Γ(1 2 )Γ( t ) 2πΓ( t ), for which A(f) = 1 2 sin(πf) note that A(0) = since sin(0) = 0 above {a t } is autocovariance sequence for a fractionally differenced (FD) process with parameter δ = 1 4 (we ll be discussing FD processes later on) WMTSA: 284 III Addendum 10

Defining the Discrete Wavelet Transform (DWT)

Defining the Discrete Wavelet Transform (DWT) Defining the Discrete Wavelet Transform (DWT) can formulate DWT via elegant pyramid algorithm defines W for non-haar wavelets (consistent with Haar) computes W = WX using O(N) multiplications brute force

More information

Vectors in Function Spaces

Vectors in Function Spaces Jim Lambers MAT 66 Spring Semester 15-16 Lecture 18 Notes These notes correspond to Section 6.3 in the text. Vectors in Function Spaces We begin with some necessary terminology. A vector space V, also

More information

Lecture 27 Frequency Response 2

Lecture 27 Frequency Response 2 Lecture 27 Frequency Response 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/6/12 1 Application of Ideal Filters Suppose we can generate a square wave with a fundamental period

More information

Fourier Series and Transforms. Revision Lecture

Fourier Series and Transforms. Revision Lecture E. (5-6) : / 3 Periodic signals can be written as a sum of sine and cosine waves: u(t) u(t) = a + n= (a ncosπnft+b n sinπnft) T = + T/3 T/ T +.65sin(πFt) -.6sin(πFt) +.6sin(πFt) + -.3cos(πFt) + T/ Fundamental

More information

1 Understanding Sampling

1 Understanding Sampling 1 Understanding Sampling Summary. In Part I, we consider the analysis of discrete-time signals. In Chapter 1, we consider how discretizing a signal affects the signal s Fourier transform. We derive the

More information

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT Mathematics for Chemists 2 Lecture 14: Fourier analysis Fourier series, Fourier transform, DFT/FFT Johannes Kepler University Summer semester 2012 Lecturer: David Sevilla Fourier analysis 1/25 Remembering

More information

Overview of Complex Numbers

Overview of Complex Numbers Overview of Complex Numbers Definition 1 The complex number z is defined as: z = a+bi, where a, b are real numbers and i = 1. General notes about z = a + bi Engineers typically use j instead of i. Examples

More information

Computational Data Analysis!

Computational Data Analysis! 12.714 Computational Data Analysis! Alan Chave (alan@whoi.edu)! Thomas Herring (tah@mit.edu),! http://geoweb.mit.edu/~tah/12.714! Concentration Problem:! Today s class! Signals that are near time and band

More information

Fourier spectra of radially periodic images with a non-symmetric radial period

Fourier spectra of radially periodic images with a non-symmetric radial period J. Opt. A: Pure Appl. Opt. 1 (1999) 621 625. Printed in the UK PII: S1464-4258(99)00768-0 Fourier spectra of radially periodic images with a non-symmetric radial period Isaac Amidror Laboratoire de Systèmes

More information

2 Frequency-Domain Analysis

2 Frequency-Domain Analysis 2 requency-domain Analysis Electrical engineers live in the two worlds, so to speak, of time and frequency. requency-domain analysis is an extremely valuable tool to the communications engineer, more so

More information

The Heat Equation John K. Hunter February 15, The heat equation on a circle

The Heat Equation John K. Hunter February 15, The heat equation on a circle The Heat Equation John K. Hunter February 15, 007 The heat equation on a circle We consider the diffusion of heat in an insulated circular ring. We let t [0, ) denote time and x T a spatial coordinate

More information

FOURIER TRANSFORMS. At, is sometimes taken as 0.5 or it may not have any specific value. Shifting at

FOURIER TRANSFORMS. At, is sometimes taken as 0.5 or it may not have any specific value. Shifting at Chapter 2 FOURIER TRANSFORMS 2.1 Introduction The Fourier series expresses any periodic function into a sum of sinusoids. The Fourier transform is the extension of this idea to non-periodic functions by

More information

Chapter 8 The Discrete Fourier Transform

Chapter 8 The Discrete Fourier Transform Chapter 8 The Discrete Fourier Transform Introduction Representation of periodic sequences: the discrete Fourier series Properties of the DFS The Fourier transform of periodic signals Sampling the Fourier

More information

A First Course in Wavelets with Fourier Analysis

A First Course in Wavelets with Fourier Analysis * A First Course in Wavelets with Fourier Analysis Albert Boggess Francis J. Narcowich Texas A& M University, Texas PRENTICE HALL, Upper Saddle River, NJ 07458 Contents Preface Acknowledgments xi xix 0

More information

Functional Analysis Exercise Class

Functional Analysis Exercise Class Functional Analysis Exercise Class Week: December 4 8 Deadline to hand in the homework: your exercise class on week January 5. Exercises with solutions ) Let H, K be Hilbert spaces, and A : H K be a linear

More information

Finite-dimensional spaces. C n is the space of n-tuples x = (x 1,..., x n ) of complex numbers. It is a Hilbert space with the inner product

Finite-dimensional spaces. C n is the space of n-tuples x = (x 1,..., x n ) of complex numbers. It is a Hilbert space with the inner product Chapter 4 Hilbert Spaces 4.1 Inner Product Spaces Inner Product Space. A complex vector space E is called an inner product space (or a pre-hilbert space, or a unitary space) if there is a mapping (, )

More information

Examples of the Fourier Theorem (Sect. 10.3). The Fourier Theorem: Continuous case.

Examples of the Fourier Theorem (Sect. 10.3). The Fourier Theorem: Continuous case. s of the Fourier Theorem (Sect. 1.3. The Fourier Theorem: Continuous case. : Using the Fourier Theorem. The Fourier Theorem: Piecewise continuous case. : Using the Fourier Theorem. The Fourier Theorem:

More information

FOURIER SERIES, HAAR WAVELETS AND FAST FOURIER TRANSFORM

FOURIER SERIES, HAAR WAVELETS AND FAST FOURIER TRANSFORM FOURIER SERIES, HAAR WAVELETS AD FAST FOURIER TRASFORM VESA KAARIOJA, JESSE RAILO AD SAMULI SILTAE Abstract. This handout is for the course Applications of matrix computations at the University of Helsinki

More information

A glimpse of Fourier analysis

A glimpse of Fourier analysis Chapter 7 A glimpse of Fourier analysis 7.1 Fourier series In the middle of the 18th century, mathematicians and physicists started to study the motion of a vibrating string (think of the strings of a

More information

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2) E.5 Signals & Linear Systems Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & ) 1. Sketch each of the following continuous-time signals, specify if the signal is periodic/non-periodic,

More information

Biomedical Signal Processing and Signal Modeling

Biomedical Signal Processing and Signal Modeling Biomedical Signal Processing and Signal Modeling Eugene N. Bruce University of Kentucky A Wiley-lnterscience Publication JOHN WILEY & SONS, INC. New York Chichester Weinheim Brisbane Singapore Toronto

More information

FOURIER TRANSFORM METHODS David Sandwell, January, 2013

FOURIER TRANSFORM METHODS David Sandwell, January, 2013 1 FOURIER TRANSFORM METHODS David Sandwell, January, 2013 1. Fourier Transforms Fourier analysis is a fundamental tool used in all areas of science and engineering. The fast fourier transform (FFT) algorithm

More information

Math 115 ( ) Yum-Tong Siu 1. Derivation of the Poisson Kernel by Fourier Series and Convolution

Math 115 ( ) Yum-Tong Siu 1. Derivation of the Poisson Kernel by Fourier Series and Convolution Math 5 (006-007 Yum-Tong Siu. Derivation of the Poisson Kernel by Fourier Series and Convolution We are going to give a second derivation of the Poisson kernel by using Fourier series and convolution.

More information

Math 345: Applied Mathematics

Math 345: Applied Mathematics Math 345: Applied Mathematics Introduction to Fourier Series, I Tones, Harmonics, and Fourier s Theorem Marcus Pendergrass Hampden-Sydney College Fall 2012 1 Sounds as waveforms I ve got a bad feeling

More information

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM Dr. Lim Chee Chin Outline Introduction Discrete Fourier Series Properties of Discrete Fourier Series Time domain aliasing due to frequency

More information

Lecture 6: Discrete Fourier Transform

Lecture 6: Discrete Fourier Transform Lecture 6: Discrete Fourier Transform In the previous lecture we introduced the discrete Fourier transform as given either by summations or as a matrix vector product The discrete Fourier transform of

More information

Math 489AB A Very Brief Intro to Fourier Series Fall 2008

Math 489AB A Very Brief Intro to Fourier Series Fall 2008 Math 489AB A Very Brief Intro to Fourier Series Fall 8 Contents Fourier Series. The coefficients........................................ Convergence......................................... 4.3 Convergence

More information

Synopsis of Complex Analysis. Ryan D. Reece

Synopsis of Complex Analysis. Ryan D. Reece Synopsis of Complex Analysis Ryan D. Reece December 7, 2006 Chapter Complex Numbers. The Parts of a Complex Number A complex number, z, is an ordered pair of real numbers similar to the points in the real

More information

2.4 Hilbert Spaces. Outline

2.4 Hilbert Spaces. Outline 2.4 Hilbert Spaces Tom Lewis Spring Semester 2017 Outline Hilbert spaces L 2 ([a, b]) Orthogonality Approximations Definition A Hilbert space is an inner product space which is complete in the norm defined

More information

Mathematical Methods for Computer Science

Mathematical Methods for Computer Science Mathematical Methods for Computer Science Computer Laboratory Computer Science Tripos, Part IB Michaelmas Term 2016/17 Professor J. Daugman Exercise problems Fourier and related methods 15 JJ Thomson Avenue

More information

Module 3. Convolution. Aim

Module 3. Convolution. Aim Module Convolution Digital Signal Processing. Slide 4. Aim How to perform convolution in real-time systems efficiently? Is convolution in time domain equivalent to multiplication of the transformed sequence?

More information

be the set of complex valued 2π-periodic functions f on R such that

be the set of complex valued 2π-periodic functions f on R such that . Fourier series. Definition.. Given a real number P, we say a complex valued function f on R is P -periodic if f(x + P ) f(x) for all x R. We let be the set of complex valued -periodic functions f on

More information

Math Homework 1. The homework consists mostly of a selection of problems from the suggested books. 1 ± i ) 2 = 1, 2.

Math Homework 1. The homework consists mostly of a selection of problems from the suggested books. 1 ± i ) 2 = 1, 2. Math 70300 Homework 1 September 1, 006 The homework consists mostly of a selection of problems from the suggested books. 1. (a) Find the value of (1 + i) n + (1 i) n for every n N. We will use the polar

More information

Fourier Sin and Cos Series and Least Squares Convergence

Fourier Sin and Cos Series and Least Squares Convergence Fourier and east Squares Convergence James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University May 7, 28 Outline et s look at the original Fourier sin

More information

Tutorial 2 - Learning about the Discrete Fourier Transform

Tutorial 2 - Learning about the Discrete Fourier Transform Tutorial - Learning about the Discrete Fourier Transform This tutorial will be about the Discrete Fourier Transform basis, or the DFT basis in short. What is a basis? If we google define basis, we get:

More information

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis SEISMIC WAVE PROPAGATION Lecture 2: Fourier Analysis Fourier Series & Fourier Transforms Fourier Series Review of trigonometric identities Analysing the square wave Fourier Transform Transforms of some

More information

Complex numbers, the exponential function, and factorization over C

Complex numbers, the exponential function, and factorization over C Complex numbers, the exponential function, and factorization over C 1 Complex Numbers Recall that for every non-zero real number x, its square x 2 = x x is always positive. Consequently, R does not contain

More information

Complex numbers. Reference note to lecture 9 ECON 5101 Time Series Econometrics

Complex numbers. Reference note to lecture 9 ECON 5101 Time Series Econometrics Complex numbers. Reference note to lecture 9 ECON 5101 Time Series Econometrics Ragnar Nymoen March 31 2014 1 Introduction This note gives the definitions and theorems related to complex numbers that are

More information

01 Harmonic Oscillations

01 Harmonic Oscillations Utah State University DigitalCommons@USU Foundations of Wave Phenomena Library Digital Monographs 8-2014 01 Harmonic Oscillations Charles G. Torre Department of Physics, Utah State University, Charles.Torre@usu.edu

More information

Ver 3808 E1.10 Fourier Series and Transforms (2014) E1.10 Fourier Series and Transforms. Problem Sheet 1 (Lecture 1)

Ver 3808 E1.10 Fourier Series and Transforms (2014) E1.10 Fourier Series and Transforms. Problem Sheet 1 (Lecture 1) Ver 88 E. Fourier Series and Transforms 4 Key: [A] easy... [E]hard Questions from RBH textbook: 4., 4.8. E. Fourier Series and Transforms Problem Sheet Lecture. [B] Using the geometric progression formula,

More information

Fourier Transform for Continuous Functions

Fourier Transform for Continuous Functions Fourier Transform for Continuous Functions Central goal: representing a signal by a set of orthogonal bases that are corresponding to frequencies or spectrum. Fourier series allows to find the spectrum

More information

Problem Value

Problem Value GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM DATE: 30-Apr-04 COURSE: ECE-2025 NAME: GT #: LAST, FIRST Recitation Section: Circle the date & time when your Recitation

More information

Topic 4 Notes Jeremy Orloff

Topic 4 Notes Jeremy Orloff Topic 4 Notes Jeremy Orloff 4 Complex numbers and exponentials 4.1 Goals 1. Do arithmetic with complex numbers.. Define and compute: magnitude, argument and complex conjugate of a complex number. 3. Euler

More information

Introduction to Signal Processing

Introduction to Signal Processing to Signal Processing Davide Bacciu Dipartimento di Informatica Università di Pisa bacciu@di.unipi.it Intelligent Systems for Pattern Recognition Signals = Time series Definitions Motivations A sequence

More information

Review of Linear System Theory

Review of Linear System Theory Review of Linear System Theory The following is a (very) brief review of linear system theory and Fourier analysis. I work primarily with discrete signals. I assume the reader is familiar with linear algebra

More information

Fundamentals of the DFT (fft) Algorithms

Fundamentals of the DFT (fft) Algorithms Fundamentals of the DFT (fft) Algorithms D. Sundararajan November 6, 9 Contents 1 The PM DIF DFT Algorithm 1.1 Half-wave symmetry of periodic waveforms.............. 1. The DFT definition and the half-wave

More information

Carrier Transmission. The transmitted signal is y(t) = k a kh(t kt ). What is the bandwidth? More generally, what is its Fourier transform?

Carrier Transmission. The transmitted signal is y(t) = k a kh(t kt ). What is the bandwidth? More generally, what is its Fourier transform? The transmitted signal is y(t) = k a kh(t kt ). What is the bandwidth? More generally, what is its Fourier transform? The baseband signal is y(t) = k a kh(t kt ). The power spectral density of the transmission

More information

The Frequency Domain

The Frequency Domain Mathematical Tools for Data Science Spring 9 The Frequency Domain Motivation In data science we call any structured object of interest an image, an audio sequence, a video... a signal. Signals are usually

More information

Advanced Digital Signal Processing -Introduction

Advanced Digital Signal Processing -Introduction Advanced Digital Signal Processing -Introduction LECTURE-2 1 AP9211- ADVANCED DIGITAL SIGNAL PROCESSING UNIT I DISCRETE RANDOM SIGNAL PROCESSING Discrete Random Processes- Ensemble Averages, Stationary

More information

7: FOURIER SERIES STEVEN HEILMAN

7: FOURIER SERIES STEVEN HEILMAN 7: FOURIER SERIES STEVE HEILMA Contents 1. Review 1 2. Introduction 1 3. Periodic Functions 2 4. Inner Products on Periodic Functions 3 5. Trigonometric Polynomials 5 6. Periodic Convolutions 7 7. Fourier

More information

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 = Chapter 5 Sequences and series 5. Sequences Definition 5. (Sequence). A sequence is a function which is defined on the set N of natural numbers. Since such a function is uniquely determined by its values

More information

Topic 1 Notes Jeremy Orloff

Topic 1 Notes Jeremy Orloff Topic 1 Notes Jeremy Orloff 1 Complex algebra and the complex plane We will start with a review of the basic algebra and geometry of complex numbers. Most likely you have encountered this previously in

More information

Math 2025, Quiz #2. Name: 1) Find the average value of the numbers 1, 3, 1, 2. Answere:

Math 2025, Quiz #2. Name: 1) Find the average value of the numbers 1, 3, 1, 2. Answere: Math 5, Quiz # Name: ) Find the average value of the numbers, 3,,. Answere: ) Find the Haar wavelet transform of the initial data s (3,,, 6). Answere: 3) Assume that the Haar wavelet transform of the initial

More information

Further Mathematical Methods (Linear Algebra) 2002

Further Mathematical Methods (Linear Algebra) 2002 Further Mathematical Methods (Linear Algebra) Solutions For Problem Sheet 9 In this problem sheet, we derived a new result about orthogonal projections and used them to find least squares approximations

More information

CONVERGENCE OF THE FOURIER SERIES

CONVERGENCE OF THE FOURIER SERIES CONVERGENCE OF THE FOURIER SERIES SHAW HAGIWARA Abstract. The Fourier series is a expression of a periodic, integrable function as a sum of a basis of trigonometric polynomials. In the following, we first

More information

11.10a Taylor and Maclaurin Series

11.10a Taylor and Maclaurin Series 11.10a 1 11.10a Taylor and Maclaurin Series Let y = f(x) be a differentiable function at x = a. In first semester calculus we saw that (1) f(x) f(a)+f (a)(x a), for all x near a The right-hand side of

More information

Probability and Statistics for Final Year Engineering Students

Probability and Statistics for Final Year Engineering Students Probability and Statistics for Final Year Engineering Students By Yoni Nazarathy, Last Updated: May 24, 2011. Lecture 6p: Spectral Density, Passing Random Processes through LTI Systems, Filtering Terms

More information

Discrete Fourier Transform

Discrete Fourier Transform Last lecture I introduced the idea that any function defined on x 0,..., N 1 could be written a sum of sines and cosines. There are two different reasons why this is useful. The first is a general one,

More information

Lecture 28 Continuous-Time Fourier Transform 2

Lecture 28 Continuous-Time Fourier Transform 2 Lecture 28 Continuous-Time Fourier Transform 2 Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/6/14 1 Limit of the Fourier Series Rewrite (11.9) and (11.10) as As, the fundamental

More information

Math 56 Homework 5 Michael Downs

Math 56 Homework 5 Michael Downs 1. (a) Since f(x) = cos(6x) = ei6x 2 + e i6x 2, due to the orthogonality of each e inx, n Z, the only nonzero (complex) fourier coefficients are ˆf 6 and ˆf 6 and they re both 1 2 (which is also seen from

More information

Analysis II: Fourier Series

Analysis II: Fourier Series .... Analysis II: Fourier Series Kenichi Maruno Department of Mathematics, The University of Texas - Pan American May 3, 011 K.Maruno (UT-Pan American) Analysis II May 3, 011 1 / 16 Fourier series were

More information

Question Paper Code : AEC11T02

Question Paper Code : AEC11T02 Hall Ticket No Question Paper Code : AEC11T02 VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Affiliated to JNTUH, Hyderabad Four Year B. Tech III Semester Tutorial Question Bank 2013-14 (Regulations: VCE-R11)

More information

Fundamentals of the Discrete Fourier Transform

Fundamentals of the Discrete Fourier Transform Seminar presentation at the Politecnico di Milano, Como, November 12, 2012 Fundamentals of the Discrete Fourier Transform Michael G. Sideris sideris@ucalgary.ca Department of Geomatics Engineering University

More information

9 Brownian Motion: Construction

9 Brownian Motion: Construction 9 Brownian Motion: Construction 9.1 Definition and Heuristics The central limit theorem states that the standard Gaussian distribution arises as the weak limit of the rescaled partial sums S n / p n of

More information

Two-Dimensional Signal Processing and Image De-noising

Two-Dimensional Signal Processing and Image De-noising Two-Dimensional Signal Processing and Image De-noising Alec Koppel, Mark Eisen, Alejandro Ribeiro March 14, 2016 Before we considered (one-dimensional) discrete signals of the form x : [0, N 1] C where

More information

Lecture 8 ELE 301: Signals and Systems

Lecture 8 ELE 301: Signals and Systems Lecture 8 ELE 30: Signals and Systems Prof. Paul Cuff Princeton University Fall 20-2 Cuff (Lecture 7) ELE 30: Signals and Systems Fall 20-2 / 37 Properties of the Fourier Transform Properties of the Fourier

More information

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson

JUST THE MATHS UNIT NUMBER DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) A.J.Hobson JUST THE MATHS UNIT NUMBER.5 DIFFERENTIATION APPLICATIONS 5 (Maclaurin s and Taylor s series) by A.J.Hobson.5. Maclaurin s series.5. Standard series.5.3 Taylor s series.5.4 Exercises.5.5 Answers to exercises

More information

Fourier Transforms For additional information, see the classic book The Fourier Transform and its Applications by Ronald N. Bracewell (which is on the shelves of most radio astronomers) and the Wikipedia

More information

In this chapter we study several functions that are useful in calculus and other areas of mathematics.

In this chapter we study several functions that are useful in calculus and other areas of mathematics. Calculus 5 7 Special functions In this chapter we study several functions that are useful in calculus and other areas of mathematics. 7. Hyperbolic trigonometric functions The functions we study in this

More information

Spectral Analysis. Jesús Fernández-Villaverde University of Pennsylvania

Spectral Analysis. Jesús Fernández-Villaverde University of Pennsylvania Spectral Analysis Jesús Fernández-Villaverde University of Pennsylvania 1 Why Spectral Analysis? We want to develop a theory to obtain the business cycle properties of the data. Burns and Mitchell (1946).

More information

Solutions to Tutorial for Week 3

Solutions to Tutorial for Week 3 The University of Sydney School of Mathematics and Statistics Solutions to Tutorial for Week 3 MATH9/93: Calculus of One Variable (Advanced) Semester, 08 Web Page: sydney.edu.au/science/maths/u/ug/jm/math9/

More information

David Hilbert was old and partly deaf in the nineteen thirties. Yet being a diligent

David Hilbert was old and partly deaf in the nineteen thirties. Yet being a diligent Chapter 5 ddddd dddddd dddddddd ddddddd dddddddd ddddddd Hilbert Space The Euclidean norm is special among all norms defined in R n for being induced by the Euclidean inner product (the dot product). A

More information

Discrete Fourier transform

Discrete Fourier transform Discrete Fourier transform Alejandro Ribeiro Dept. of Electrical and Systems Engineering University of Pennsylvania aribeiro@seas.upenn.edu http://www.seas.upenn.edu/users/~aribeiro/ January 2, 216 Signal

More information

ECE 301 Fall 2011 Division 1. Homework 1 Solutions.

ECE 301 Fall 2011 Division 1. Homework 1 Solutions. ECE 3 Fall 2 Division. Homework Solutions. Reading: Course information handout on the course website; textbook sections.,.,.2,.3,.4; online review notes on complex numbers. Problem. For each discrete-time

More information

The Discrete Fourier Transform (DFT) Properties of the DFT DFT-Specic Properties Power spectrum estimate. Alex Sheremet.

The Discrete Fourier Transform (DFT) Properties of the DFT DFT-Specic Properties Power spectrum estimate. Alex Sheremet. 4. April 2, 27 -order sequences Measurements produce sequences of numbers Measurement purpose: characterize a stochastic process. Example: Process: water surface elevation as a function of time Parameters:

More information

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes Jim ambers ENERGY 28 Spring Quarter 27-8 ecture 5 Notes These notes are based on Rosalind Archer s PE28 lecture notes, with some revisions by Jim ambers. Fourier Series Recall that in ecture 2, when we

More information

Math 312 Fall 2013 Final Exam Solutions (2 + i)(i + 1) = (i 1)(i + 1) = 2i i2 + i. i 2 1

Math 312 Fall 2013 Final Exam Solutions (2 + i)(i + 1) = (i 1)(i + 1) = 2i i2 + i. i 2 1 . (a) We have 2 + i i Math 32 Fall 203 Final Exam Solutions (2 + i)(i + ) (i )(i + ) 2i + 2 + i2 + i i 2 3i + 2 2 3 2 i.. (b) Note that + i 2e iπ/4 so that Arg( + i) π/4. This implies 2 log 2 + π 4 i..

More information

MTH 362: Advanced Engineering Mathematics

MTH 362: Advanced Engineering Mathematics MTH 362: Advanced Engineering Mathematics Lecture 1 Jonathan A. Chávez Casillas 1 1 University of Rhode Island Department of Mathematics September 7, 2017 Course Name and number: MTH 362: Advanced Engineering

More information

Quantum Mechanics for Mathematicians: Energy, Momentum, and the Quantum Free Particle

Quantum Mechanics for Mathematicians: Energy, Momentum, and the Quantum Free Particle Quantum Mechanics for Mathematicians: Energy, Momentum, and the Quantum Free Particle Peter Woit Department of Mathematics, Columbia University woit@math.columbia.edu November 28, 2012 We ll now turn to

More information

Fourier Series. ,..., e ixn ). Conversely, each 2π-periodic function φ : R n C induces a unique φ : T n C for which φ(e ix 1

Fourier Series. ,..., e ixn ). Conversely, each 2π-periodic function φ : R n C induces a unique φ : T n C for which φ(e ix 1 Fourier Series Let {e j : 1 j n} be the standard basis in R n. We say f : R n C is π-periodic in each variable if f(x + πe j ) = f(x) x R n, 1 j n. We can identify π-periodic functions with functions on

More information

Math Calculus I

Math Calculus I Math 165 - Calculus I Christian Roettger 382 Carver Hall Mathematics Department Iowa State University www.iastate.edu/~roettger November 13, 2011 4.1 Introduction to Area Sigma Notation 4.2 The Definite

More information

Physics 307. Mathematical Physics. Luis Anchordoqui. Wednesday, August 31, 16

Physics 307. Mathematical Physics. Luis Anchordoqui. Wednesday, August 31, 16 Physics 307 Mathematical Physics Luis Anchordoqui 1 Bibliography L. A. Anchordoqui and T. C. Paul, ``Mathematical Models of Physics Problems (Nova Publishers, 2013) G. F. D. Duff and D. Naylor, ``Differential

More information

C. Complex Numbers. 1. Complex arithmetic.

C. Complex Numbers. 1. Complex arithmetic. C. Complex Numbers. Complex arithmetic. Most people think that complex numbers arose from attempts to solve quadratic equations, but actually it was in connection with cubic equations they first appeared.

More information

Fourier Series. Spectral Analysis of Periodic Signals

Fourier Series. Spectral Analysis of Periodic Signals Fourier Series. Spectral Analysis of Periodic Signals he response of continuous-time linear invariant systems to the complex exponential with unitary magnitude response of a continuous-time LI system at

More information

Computer Problems for Fourier Series and Transforms

Computer Problems for Fourier Series and Transforms Computer Problems for Fourier Series and Transforms 1. Square waves are frequently used in electronics and signal processing. An example is shown below. 1 π < x < 0 1 0 < x < π y(x) = 1 π < x < 2π... and

More information

MAT389 Fall 2016, Problem Set 11

MAT389 Fall 2016, Problem Set 11 MAT389 Fall 216, Problem Set 11 Improper integrals 11.1 In each of the following cases, establish the convergence of the given integral and calculate its value. i) x 2 x 2 + 1) 2 ii) x x 2 + 1)x 2 + 2x

More information

Continuous-time Fourier Methods

Continuous-time Fourier Methods ELEC 321-001 SIGNALS and SYSTEMS Continuous-time Fourier Methods Chapter 6 1 Representing a Signal The convolution method for finding the response of a system to an excitation takes advantage of the linearity

More information

INTRODUCTION TO REAL ANALYSIS II MATH 4332 BLECHER NOTES

INTRODUCTION TO REAL ANALYSIS II MATH 4332 BLECHER NOTES INTRODUCTION TO REAL ANALYSIS II MATH 433 BLECHER NOTES. As in earlier classnotes. As in earlier classnotes (Fourier series) 3. Fourier series (continued) (NOTE: UNDERGRADS IN THE CLASS ARE NOT RESPONSIBLE

More information

Math Linear Algebra II. 1. Inner Products and Norms

Math Linear Algebra II. 1. Inner Products and Norms Math 342 - Linear Algebra II Notes 1. Inner Products and Norms One knows from a basic introduction to vectors in R n Math 254 at OSU) that the length of a vector x = x 1 x 2... x n ) T R n, denoted x,

More information

Problem Value

Problem Value GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM DATE: 30-Apr-04 COURSE: ECE-2025 NAME: GT #: LAST, FIRST Recitation Section: Circle the date & time when your Recitation

More information

A3. Frequency Representation of Continuous Time and Discrete Time Signals

A3. Frequency Representation of Continuous Time and Discrete Time Signals A3. Frequency Representation of Continuous Time and Discrete Time Signals Objectives Define the magnitude and phase plots of continuous time sinusoidal signals Extend the magnitude and phase plots to discrete

More information

Interchange of Filtering and Downsampling/Upsampling

Interchange of Filtering and Downsampling/Upsampling Interchange of Filtering and Downsampling/Upsampling Downsampling and upsampling are linear systems, but not LTI systems. They cannot be implemented by difference equations, and so we cannot apply z-transform

More information

18.04 Practice problems exam 1, Spring 2018 Solutions

18.04 Practice problems exam 1, Spring 2018 Solutions 8.4 Practice problems exam, Spring 8 Solutions Problem. omplex arithmetic (a) Find the real and imaginary part of z + z. (b) Solve z 4 i =. (c) Find all possible values of i. (d) Express cos(4x) in terms

More information

Ma 530 Power Series II

Ma 530 Power Series II Ma 530 Power Series II Please note that there is material on power series at Visual Calculus. Some of this material was used as part of the presentation of the topics that follow. Operations on Power Series

More information

Chapter 8 Integral Operators

Chapter 8 Integral Operators Chapter 8 Integral Operators In our development of metrics, norms, inner products, and operator theory in Chapters 1 7 we only tangentially considered topics that involved the use of Lebesgue measure,

More information

Practice Exercises on Differential Equations

Practice Exercises on Differential Equations Practice Exercises on Differential Equations What follows are some exerices to help with your studying for the part of the final exam on differential equations. In this regard, keep in mind that the exercises

More information

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling

Tutorial Sheet #2 discrete vs. continuous functions, periodicity, sampling 2.39 utorial Sheet #2 discrete vs. continuous functions, periodicity, sampling We will encounter two classes of signals in this class, continuous-signals and discrete-signals. he distinct mathematical

More information

INTRODUCTION TO THE DFS AND THE DFT

INTRODUCTION TO THE DFS AND THE DFT ITRODUCTIO TO THE DFS AD THE DFT otes: This brief handout contains in very brief outline form the lecture notes used for a video lecture in a previous year introducing the DFS and the DFT. This material

More information

Fourier Series. Now we need to take a theoretical excursion to build up the mathematics that makes separation of variables possible.

Fourier Series. Now we need to take a theoretical excursion to build up the mathematics that makes separation of variables possible. Fourier Series Now we need to take a theoretical excursion to build up the mathematics that makes separation of variables possible Periodic functions Definition: A function f is periodic with period p

More information

1 (2n)! (-1)n (θ) 2n

1 (2n)! (-1)n (θ) 2n Complex Numbers and Algebra The real numbers are complete for the operations addition, subtraction, multiplication, and division, or more suggestively, for the operations of addition and multiplication

More information