CS 6604: Data Mining Large Networks and Time-series. B. Aditya Prakash Lecture #12: Time Series Mining
|
|
- Allen Lane
- 6 years ago
- Views:
Transcription
1 CS 6604: Data Mining Large Networks and Time-series B. Aditya Prakash Lecture #12: Time Series Mining
2 Pa<erns Y X 2
3 Pa<erns Y More Data X 3
4 Pa<erns Y Anomaly? X 4
5 Pa<erns Y Anomaly? ExtrapolaFon X 5
6 Y Pa<erns ImputaFon Anomaly ExtrapolaFon X 6
7 Pa<erns ImputaFon Anomaly Compression ExtrapolaFon 7
8 FOURIER TRANSFORM Based on slides by Christos Faloutsos. 8
9 DSP - Detailed outline DFT what why how Arithmetic examples properties / observations DCT 2-d DFT Fast Fourier Transform (FFT) 9
10 Introduction Goal: given a signal (eg., sales over time and/ or space) Find: patterns and/or compress count lynx caught per year year 10
11 What does DFT do? A: highlights the periodicities 11
12 Why should we care? A: several real sequences are periodic Q: Such as? 12
13 Why should we care? A: several real sequences are periodic Q: Such as? A: sales patterns follow seasons; economy follows 50-year cycle temperature follows daily and yearly cycles Many real signals follow (multiple) cycles 13
14 Why should we care? For example: human voice! Frequency analyzer speaker identification impulses/noise -> flat spectrum high pitch -> high frequency Freq.exe 14
15 DFT and stocks Dow Jones Industrial index, 6/18/ /21/
16 DFT and stocks Log(ampl) Dow Jones Industrial index, 6/18/ /21/2001 just 3 DFT coefficients give very good approximation freq 16
17 17 DFT: definition Discrete Fourier Transform (n-point): inverse DFT = = + = = = ) / 2 *exp( 1/ 1) ( ) / 2 *exp( 1/ n f f t n t t f n t f j X n x j n t f j x n X π π
18 How does it work? Skip alue Decomposes signal to a sum of sine (and cosine) waves. Q:How to assess similarity of x with a wave? x ={x 0, x 1,... x n-1 } 0 1 n-1 time 18
19 How does it work? Skip A: consider the waves with frequency 0, 1,...; use the inner-product (~cosine similarity) alue freq. f=0 value freq. f=1 (sin(t * 2 π/n) ) 0 1 n-1 time 0 1 n-1 time 19
20 How does it work? Skip A: consider the waves with frequency 0, 1,...; use the inner-product (~cosine similarity) value freq. f=2 0 1 n-1 time 20
21 How does it work? Skip basis functions 0 1 n-1 sine, freq =1 0 1 n n-1 cosine, f=1 sine, freq = n n-1 cosine, f=2 21
22 How does it work? Skip Basis functions are actually n-dim vectors, orthogonal to each other similarity of x with each of them: inner product DFT: ~ all the similarities of x with the basis functions 22
23 How does it work? Skip Since e jf = cos(f) + j sin(f) (j=sqrt(-1)), we finally have: 23
24 24 DFT: definition Discrete Fourier Transform (n-point): inverse DFT = = + = = = ) / 2 *exp( 1/ 1) ( ) / 2 *exp( 1/ n f f t n t t f n t f j X n x j n t f j x n X π π
25 DFT: definition Good news: Available in all symbolic math packages, eg., in mathematica x = [1,2,1,2]; X = Fourier[x]; Plot[ Abs[X] ]; 25
26 DFT: definition (variations: 1/n instead of 1/sqrt(n) exp(-...) instead of exp(+...) ) 26
27 DFT: definition Observations: X f : are complex numbers except X 0, who is real Im (X f ): ~ amplitude of sine wave of frequency f Re (X f ): ~ amplitude of cosine wave of frequency f x: is the sum of the above sine/cosine waves 27
28 DFT: definition Skip Observation - SYMMETRY property: X f = (X n-f )* ( * : complex conjugate: (a + b j)* = a - b j ) 28
29 DFT: definition Definitions A f = X f : amplitude of frequency f X f 2 = Re(X f ) 2 + Im(X f ) 2 = energy of frequency f phase φ f at frequency f Im A f X f φ f Re 29
30 DFT: definition Skip Amplitude spectrum: X f vs f (f=0, 1,... n-1) SYMMETRIC (Thus, we plot the first half only) 0 1 n-1 30
31 DFT: definition Skip Phase spectrum φ f vs f (f=0, 1,... n-1): Anti-symmetric (Rarely used) 31
32 DFT: examples flat Amplitude time freq 32
33 DFT: examples Low frequency sinusoid time freq 33
34 DFT: examples Sinusoid - symmetry property: X f = X * n-f time freq 34
35 DFT: examples Higher freq. sinusoid time freq 35
36 DFT: examples examples =
37 DFT: examples examples Ampl Freq. 37
38 DFT: Amplitude spectrum Amplitude: A = Re ( X ) + f 2 2 f 2 Im ( X f ) count actual mean mean+f req12 Ampl. freq=0 freq=12 year Freq. 38
39 DFT: Amplitude spectrum count actual mean mean+f req12 Ampl. freq=0 freq=12 year Freq. 39
40 DFT: Amplitude spectrum count actual mean mean+f req12 Ampl. freq=0 freq=12 year Freq. 40
41 DFT: Amplitude spectrum excellent approximation, with only 2 frequencies! so what? actual mean mean+f req Freq
42 DFT: Amplitude spectrum excellent approximation, with only 2 frequencies! so what? A1: compression A2: pattern discovery (A3: forecasting) 42
43 DFT: Amplitude spectrum excellent approximation, with only 2 frequencies! so what? A1: (lossy) compression A2: pattern discovery
44 DFT: Amplitude spectrum excellent approximation, with only 2 frequencies! so what? A1: (lossy) compression A2: pattern discovery actual mean mean+f req12 44
45 DFT: Amplitude spectrum Let s see it in action! ( FFTSpectrumAnalyser.html) plain sine phase shift two sine waves the chirp function 45
46 Plain sine 46
47 Plain sine 47
48 Plain sine phase shift 48
49 Plain sine phase shift 49
50 Plain sine 50
51 Two sines 51
52 Two sines 52
53 Chirp 53
54 Chirp 54
55 DFT: Parseval s theorem sum( x t 2 ) = sum ( X f 2 ) Ie., DFT preserves the energy or, alternatively: it does an axis rotation: x1 x = {x0, x1} x0 55
56 DFT: Parseval s theorem sum( x t 2 ) = sum ( X f 2 ) Ie., DFT preserves the energy or, alternatively: it does an axis rotation: x1 x = {x0, x1} x0 56
57 DSP - Detailed outline DFT what why how Arithmetic examples properties / observations DCT 2-d DFT Fast Fourier Transform (FFT) 57
58 Arithmetic examples Skip Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? value time 58
59 Arithmetic examples Skip Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? A: X 0 = 1/sqrt(4) * 1* exp(-j 2 π 0 / n ) = 1/2 X 1 =? X 2 =? X 3 =? 59
60 Arithmetic examples Skip Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? A: X 0 = 1/sqrt(4) * 1* exp(-j 2 π 0 / n ) = 1/2 X 1 = -1/2 j X 2 = - 1/2 X 3 = + 1/2 j Q: does the symmetry property hold? 60
61 Arithmetic examples Skip Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? A: X 0 = 1/sqrt(4) * 1* exp(-j 2 π 0 / n ) = 1/2 X 1 = -1/2 j X 2 = - 1/2 X 3 = + 1/2 j Q: does the symmetry property hold? A: Yes (of course) 61
62 Arithmetic examples Skip Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? A: X 0 = 1/sqrt(4) * 1* exp(-j 2 π 0 / n ) = 1/2 X 1 = -1/2 j X 2 = - 1/2 X 3 = + 1/2 j Q: check Parseval s theorem 62
63 Arithmetic examples Skip Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? A: X 0 = 1/sqrt(4) * 1* exp(-j 2 π 0 / n ) = 1/2 X 1 = -1/2 j X 2 = - 1/2 X 3 = + 1/2 j Q: (Amplitude) spectrum? 63
64 Arithmetic examples Impulse function: x = { 0, 1, 0, 0} (n = 4) X 0 =? A: X 0 = 1/sqrt(4) * 1* exp(-j 2 π 0 / n ) = 1/2 X 1 = -1/2 j X 2 = - 1/2 X 3 = + 1/2 j Q: (Amplitude) spectrum? A: FLAT! 64
65 Arithmetic examples Q: What does this mean? 65
66 Arithmetic examples Q: What does this mean? A: All frequencies are equally important -> we need n numbers in the frequency domain to represent just one non-zero number in the time domain! frequency leak 66
67 DSP - Detailed outline DFT what why how Arithmetic examples properties / observations DCT 2-d DFT Fast Fourier Transform (FFT) 67
68 Observations DFT of step function: x = { 0, 0,..., 0, 1, 1,... 1} x t t 68
69 Observations DFT of step function: x = { 0, 0,..., 0, 1, 1,... 1} x t f = 0 t 69
70 Observations DFT of step function: x = { 0, 0,..., 0, 1, 1,... 1} x t f=1 f = 0 t 70
71 Observations DFT of step function: x = { 0, 0,..., 0, 1, 1,... 1} x t f=1 t the more frequencies, the better the approx. ringing becomes worse f = 0 reason: discontinuities; trends 71
72 Observations Ringing for trends: because DFT subconsciously replicates the signal x t t 72
73 Observations Ringing for trends: because DFT subconsciously replicates the signal x t t 73
74 Observations Ringing for trends: because DFT subconsciously replicates the signal x t t 74
75 original 75
76 DC and 1st 76
77 DC and 1st And 2nd 77
78 DC and 1st And 2nd And 3rd 78
79 DC and 1st And 2nd And 3rd And 4th 79
80 Observations Q: DFT of a sinusoid, eg. x t = 3 sin( 2 π / 4 t) (t = 0,..., 3) Q: X 0 =? Q: X 1 =? Q: X 2 =? Q: X 3 =? 80
81 Observations Q: DFT of a sinusoid, eg. x t = 3 sin( 2 π / 4 t) (t = 0,..., 3) Q: X 0 = 0 Q: X 1 = -3 j Q: X 2 = 0 Q: X 3 = 3j check symmetry check Parseval 81
82 Observations Q: DFT of a sinusoid, eg. x t = 3 sin( 2 π / 4 t) (t = 0,..., 3) Q: X 0 = 0 Q: X 1 = -3 j A f Q: X 2 = 0 Q: X 3 = 3j Does this make sense? f 82
83 Property Shifting x in time does NOT change the amplitude spectrum eg., x = { } and x = { }: same (flat) amplitude spectrum (only the phase spectrum changes) Useful property when we search for patterns that may slide 83
84 DSP - Detailed outline DFT what why how Arithmetic examples properties / observations DCT 2-d DFT Fast Fourier Transform (FFT) 84
85 DSP - Detailed outline DFT what why how Arithmetic examples properties / observations DCT 2-d DFT Fast Fourier Transform (FFT) 85
86 FFT Skip What is the complexity of DFT? X f n = 1/ n t= 1 0 x t * exp( j2π tf / n) 86
87 FFT Skip What is the complexity of DFT? X f n = 1/ n t= 1 0 x t * exp( j2π tf / n) A: Naively, O(n 2 ) 87
88 FFT Skip However, if n is a power of 2 (or a number with many divisors), we can make it O(n log n) Main idea: if we know the DFT of the odd time-ticks, and of the even time-ticks, we can quickly compute the whole DFT Details: in Num. Recipes 88
89 DFT - Conclusions It spots periodicities (with the amplitude spectrum ) can be quickly computed (O( n log n)), thanks to the FFT algorithm. standard tool in signal processing (speech, image etc signals) actual mean mean+f req Freq
90 WAVELET TRANSFORM Based on material by Christos Faloutsos. 90
91 Reminder: Problem: Goal: given a signal (eg., #packets over time) Find: patterns, periodicities, and/or compress count lynx caught per year (packets per day; virus infections per month) year 91
92 Wavelets - DWT DFT is great - but, how about compressing a spike? value time 92
93 Wavelets - DWT DFT is great - but, how about compressing a spike? A: Terrible - all DFT coefficients needed! value time Ampl Freq. 93
94 Wavelets - DWT DFT is great - but, how about compressing a spike? A: Terrible - all DFT coefficients needed! value time
95 Wavelets - DWT Similarly, DFT suffers on short-duration waves (eg., baritone, silence, soprano) value time 95
96 Wavelets - DWT freq Solution#1: Short window Fourier transform (SWFT) But: how short should be the window? value time time 96
97 Wavelets - DWT freq Answer: multiple window sizes! -> DWT Time domain DFT SWFT DWT time 97
98 Haar Wavelets subtract sum of left half from right half repeat recursively for quarters, eight-ths,... 98
99 Wavelets - construction x0 x1 x2 x3 x4 x5 x6 x7 99
100 Wavelets - construction level 1 d1,0 s1,0 d1,1 s1, x0 x1 x2 x3 x4 x5 x6 x7 100
101 Wavelets - construction level 2 d2,0 s2,0 d1,0 s1,0 d1,1 s1, x0 x1 x2 x3 x4 x5 x6 x7 101
102 Wavelets - construction etc... d2,0 s2,0 d1,0 s1,0 d1,1 s1, x0 x1 x2 x3 x4 x5 x6 x7 102
103 Wavelets - construction Q: map each coefficient on the time-freq. plane d2,0 s2,0 f d1,0 s1,0 d1,1 s1, x0 x1 x2 x3 x4 x5 x6 x7 t 103
104 Wavelets - construction Q: map each coefficient on the time-freq. plane d2,0 s2,0 f d1,0 s1,0 d1,1 s1, x0 x1 x2 x3 x4 x5 x6 x7 t 104
105 Haar wavelets - code #!/usr/bin/perl5 # expects a file with numbers # and prints the dwt transform # The number of time-ticks should be a power of 2 # USAGE # haar.pl <fname> # the smooth component of the signal # the high-freq. component # collect the values into the = split ); } my $len = scalar(@vals); my $half = int($len/2); while($half >= 1 ){ for(my $i=0; $i< $half; $i++){ $diff [$i] = ($vals[2*$i] - $vals[2*$i + 1] )/ sqrt(2); print "\t", $diff[$i]; $smooth [$i] = ($vals[2*$i] + $vals[2*$i + 1] )/ sqrt(2); } print $half = int($half/2); } print "\t", $vals[0], "\n" ; # the final, smooth component 105
106 Wavelets - construction Observation1: + can be some weighted addition - is the corresponding weighted difference ( Quadrature mirror filters ) Observation2: unlike DFT/DCT, there are *many* wavelet bases: Haar, Daubechies-4, Daubechies-6, Coifman, Morlet, Gabor,
107 Wavelets - how do they look like? E.g., Daubechies-4 107
108 Wavelets - how do they look like? E.g., Daubechies-4?? 108
109 Wavelets - how do they look like? E.g., Daubechies-4 109
110 Wavelets - Drill#1: Q: baritone/silence/soprano - DWT? f value t time 110
111 Wavelets - Drill#1: Q: baritone/silence/soprano - DWT? f value t time 111
112 Wavelets - Drill#2: Q: spike - DWT? f t
113 Wavelets - Drill#2: Q: spike - DWT? f t
114 Wavelets - Drill#3: Q: weekly + daily periodicity, + spike - DWT? f t 114
115 Wavelets - Drill#3: Q: weekly + daily periodicity, + spike - DWT? f t 115
116 Wavelets - Drill#3: Q: weekly + daily periodicity, + spike - DWT? f t 116
117 Wavelets - Drill#3: Q: weekly + daily periodicity, + spike - DWT? f t 117
118 Wavelets - Drill#3: Q: weekly + daily periodicity, + spike - DWT? f t 118
119 Wavelets - Drill#3: Q: DFT? DWT DFT f f t t 119
120 Delta? x(0)=1; x(t)= 0 elsewhere f t 120
121 Delta? x(0)=1; x(t)= 0 elsewhere f t 121
122 2 cosines? x(t) = cos( 2 * pi * 4 * t / 1024 ) + 5 * cos( 2 * pi * 8 * t / 1024 ) f t 122
123 2 cosines? x(t) = cos( 2 * pi * 4 * t / 1024 ) + 5 * cos( 2 * pi * 8 * t / 1024 ) f t Which one is for freq.=4? 123
124 2 cosines? x(t) = cos( 2 * pi * 4 * t / 1024 ) + 5 * cos( 2 * pi * 8 * t / 1024 ) f~8 f~4 f t Which one is for freq.=4? 124
125 Chirp? x(t) = cos( 2 * pi * t * t / 1024 ) f t 125
126 Chirp? x(t) = cos( 2 * pi * t * t / 1024 ) f t 126
127 Chirp? x(t) = cos( 2 * pi * t * t / 1024 ) SWFT? f t 127
128 Chirp? x(t) = cos( 2 * pi * t * t / 1024 ) SWFT f t 128
129 More examples (BGP updates) [Prakash+, 2009] #updates time 129
130 More examples (BGP updates) Low freq.: omitted freq. f t 130
131 More examples (BGP updates) freq.?? 131
132 More examples (BGP updates) Prolonged spike freq. f t 132
133 More examples (BGP updates) 15K msgs, for several hours: 6pm-4am freq. 133
134 Wavelets - Drill Or use R, octave or matlab R: install.packages("wavelets") library("wavelets") X1<-c(1,2,3,4,5,6,7,8) dwt(x1, n.levels=3, filter= d4 ) mra(x1, n.levels=3, filter= d4 ) 134
135 Wavelets - k-dimensions? easily defined for any dimensionality (like DFT, DCT) 135
136 Wavelets - example Wavelets achieve *great* compression: ,000 # coefficients 136
137 Wavelets - intuition Edges (horizontal; vertical; diagonal) 137
138 Wavelets - intuition Edges (horizontal; vertical; diagonal) recurse 138
139 Wavelets - intuition Edges (horizontal; vertical; diagonal) 139
140 Advantages of Wavelets Better compression (better RMSE with same number of coefficients) closely related to the processing of the mammalian eye and ear Good for progressive transmission handle spikes well usually, fast to compute (O(n)!) 140
141 Overall Conclusions DFT spot periodicities DWT : multi-resolution - matches processing of mammalian ear/eye better Both: powerful tools for compression, pattern detection in real signals Both: included in math packages (matlab, R, mathematica,... ) 141
Scientific Computing: An Introductory Survey
Scientific Computing: An Introductory Survey Chapter 12 Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction permitted for noncommercial,
More informationThe Fourier Transform (and more )
The Fourier Transform (and more ) imrod Peleg ov. 5 Outline Introduce Fourier series and transforms Introduce Discrete Time Fourier Transforms, (DTFT) Introduce Discrete Fourier Transforms (DFT) Consider
More informationSignal Processing With Wavelets
Signal Processing With Wavelets JAMES MONK Niels Bohr Institute, University of Copenhagen. Reminder of the Fourier Transform g(!) = 1 p 2 Z 1 1 f(t)e i!t dt Tells you the frequency components in a signal
More informationPeriodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 :
Periodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 : X(t) = µ + Asin(ω 0 t)+ Δ δ ( t t 0 ) ±σ N =100 Δ =100 χ ( ω ) Raises the amplitude uniformly at all
More informationIntroduction 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 informationTime Series Mining and Forecasting
CSE 6242 / CX 4242 Mar 25, 2014 Time Series Mining and Forecasting Duen Horng (Polo) Chau Georgia Tech Slides based on Prof. Christos Faloutsos s materials Outline Motivation Similarity search distance
More informationDigital Image Processing
Digital Image Processing, 2nd ed. Digital Image Processing Chapter 7 Wavelets and Multiresolution Processing Dr. Kai Shuang Department of Electronic Engineering China University of Petroleum shuangkai@cup.edu.cn
More informationSparse linear models
Sparse linear models Optimization-Based Data Analysis http://www.cims.nyu.edu/~cfgranda/pages/obda_spring16 Carlos Fernandez-Granda 2/22/2016 Introduction Linear transforms Frequency representation Short-time
More informationECG782: Multidimensional Digital Signal Processing
Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spring 2014 TTh 14:30-15:45 CBC C313 Lecture 05 Image Processing Basics 13/02/04 http://www.ee.unlv.edu/~b1morris/ecg782/
More informationSignal Processing With Wavelets
Signal Processing With Wavelets JAMES MONK Niels Bohr Institute, University of Copenhagen. Self-Similarity Benoît B.* Mandlebrot: Clouds are not spheres, mountains are not cones, coastlines are not circles,
More informationMultiscale Image Transforms
Multiscale Image Transforms Goal: Develop filter-based representations to decompose images into component parts, to extract features/structures of interest, and to attenuate noise. Motivation: extract
More informationTime Series. Duen Horng (Polo) Chau Assistant Professor Associate Director, MS Analytics Georgia Tech. Mining and Forecasting
http://poloclub.gatech.edu/cse6242 CSE6242 / CX4242: Data & Visual Analytics Time Series Mining and Forecasting Duen Horng (Polo) Chau Assistant Professor Associate Director, MS Analytics Georgia Tech
More informationIntroduction to Biomedical Engineering
Introduction to Biomedical Engineering Biosignal processing Kung-Bin Sung 6/11/2007 1 Outline Chapter 10: Biosignal processing Characteristics of biosignals Frequency domain representation and analysis
More informationTransforms and Orthogonal Bases
Orthogonal Bases Transforms and Orthogonal Bases We now turn back to linear algebra to understand transforms, which map signals between different domains Recall that signals can be interpreted as vectors
More informationA 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 informationFourier analysis of discrete-time signals. (Lathi Chapt. 10 and these slides)
Fourier analysis of discrete-time signals (Lathi Chapt. 10 and these slides) Towards the discrete-time Fourier transform How we will get there? Periodic discrete-time signal representation by Discrete-time
More informationModule 4 MULTI- RESOLUTION ANALYSIS. Version 2 ECE IIT, Kharagpur
Module 4 MULTI- RESOLUTION ANALYSIS Lesson Theory of Wavelets Instructional Objectives At the end of this lesson, the students should be able to:. Explain the space-frequency localization problem in sinusoidal
More informationencoding without prediction) (Server) Quantization: Initial Data 0, 1, 2, Quantized Data 0, 1, 2, 3, 4, 8, 16, 32, 64, 128, 256
General Models for Compression / Decompression -they apply to symbols data, text, and to image but not video 1. Simplest model (Lossless ( encoding without prediction) (server) Signal Encode Transmit (client)
More informationPeriodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 :
Periodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 : ( ) ±σ X(t) = µ + Asin(ω 0 t)+ Δ δ t t 0 N =100 Δ =100 χ ( ω ) Raises the amplitude uniformly at all
More informationJim 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 informationWavelets and Filter Banks Course Notes
Página Web 1 de 2 http://www.engmath.dal.ca/courses/engm6610/notes/notes.html Next: Contents Contents Wavelets and Filter Banks Course Notes Copyright Dr. W. J. Phillips January 9, 2003 Contents 1. Analysis
More informationSummary of lecture 1. E x = E x =T. X T (e i!t ) which motivates us to define the energy spectrum Φ xx (!) = jx (i!)j 2 Z 1 Z =T. 2 d!
Summary of lecture I Continuous time: FS X FS [n] for periodic signals, FT X (i!) for non-periodic signals. II Discrete time: DTFT X T (e i!t ) III Poisson s summation formula: describes the relationship
More informationSEISMIC 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 information000=0 001=1 010=2 011=3 100=4 101=5 110=6 111=7 000=0 100=4 010=2 110=6 001=1 101=5 011=3 111=7
8 CHAPTER : Fourier Series The second idea behind the FFT concerns how to get the correct h k s into the final DFT s of size. If the subscripts to 7 of the h k s are written in binary form, as shown in
More informationThe Continuous-time Fourier
The Continuous-time Fourier Transform Rui Wang, Assistant professor Dept. of Information and Communication Tongji University it Email: ruiwang@tongji.edu.cn Outline Representation of Aperiodic signals:
More informationCommunication Signals (Haykin Sec. 2.4 and Ziemer Sec Sec. 2.4) KECE321 Communication Systems I
Communication Signals (Haykin Sec..4 and iemer Sec...4-Sec..4) KECE3 Communication Systems I Lecture #3, March, 0 Prof. Young-Chai Ko 년 3 월 일일요일 Review Signal classification Phasor signal and spectra Representation
More informationContents. Acknowledgments
Table of Preface Acknowledgments Notation page xii xx xxi 1 Signals and systems 1 1.1 Continuous and discrete signals 1 1.2 Unit step and nascent delta functions 4 1.3 Relationship between complex exponentials
More informationEE482: Digital Signal Processing Applications
Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:305:45 CBC C222 Lecture 8 Frequency Analysis 14/02/18 http://www.ee.unlv.edu/~b1morris/ee482/
More informationTime Series (1) Information Systems M
Time Series () Information Systems M Prof. Paolo Ciaccia http://www-db.deis.unibo.it/courses/si-m/ Time series are everywhere Time series, that is, sequences of observations (samples) made through time,
More informationCompressing a 1D Discrete Signal
Compressing a D Discrete Signal Divide the signal into 8blocks. Subtract the sample mean from each value. Compute the 8 8covariancematrixforthe blocks. Compute the eigenvectors of the covariance matrix.
More information1 Introduction to Wavelet Analysis
Jim Lambers ENERGY 281 Spring Quarter 2007-08 Lecture 9 Notes 1 Introduction to Wavelet Analysis Wavelets were developed in the 80 s and 90 s as an alternative to Fourier analysis of signals. Some of the
More informationOutline : Multimedia Databases and Data Mining. Indexing - similarity search. Indexing - similarity search. C.
Outline 15-826: Multimedia Databases and Data Mining Lecture #30: Conclusions C. Faloutsos Goal: Find similar / interesting things Intro to DB Indexing - similarity search Points Text Time sequences; images
More informationJean Morlet and the Continuous Wavelet Transform (CWT)
Jean Morlet and the Continuous Wavelet Transform (CWT) Brian Russell 1 and Jiajun Han 1 CREWES Adjunct Professor CGG GeoSoftware Calgary Alberta. www.crewes.org Introduction In 198 Jean Morlet a geophysicist
More informationIntroduction to Wavelet. Based on A. Mukherjee s lecture notes
Introduction to Wavelet Based on A. Mukherjee s lecture notes Contents History of Wavelet Problems of Fourier Transform Uncertainty Principle The Short-time Fourier Transform Continuous Wavelet Transform
More information( nonlinear constraints)
Wavelet Design & Applications Basic requirements: Admissibility (single constraint) Orthogonality ( nonlinear constraints) Sparse Representation Smooth functions well approx. by Fourier High-frequency
More informationStudy of Wavelet Functions of Discrete Wavelet Transformation in Image Watermarking
Study of Wavelet Functions of Discrete Wavelet Transformation in Image Watermarking Navdeep Goel 1,a, Gurwinder Singh 2,b 1ECE Section, Yadavindra College of Engineering, Talwandi Sabo 2Research Scholar,
More informationSignal interactions Cross correlation, cross spectral coupling and significance testing Centre for Doctoral Training in Healthcare Innovation
Signal interactions Cross correlation, cross spectral coupling and significance testing Centre for Doctoral Training in Healthcare Innovation Dr. Gari D. Clifford, University Lecturer & Director, Centre
More informationNoise & Data Reduction
Noise & Data Reduction Andreas Wichert - Teóricas andreas.wichert@inesc-id.pt 1 Paired Sample t Test Data Transformation - Overview From Covariance Matrix to PCA and Dimension Reduction Fourier Analysis
More informationDiscrete-Time Fourier Transform
Discrete-Time Fourier Transform Chapter Intended Learning Outcomes: (i) (ii) (iii) Represent discrete-time signals using discrete-time Fourier transform Understand the properties of discrete-time Fourier
More informationFourier Transform. Find the Fourier series for a periodic waveform Determine the output of a filter when the input is a periodic function
Objectives: Be able to Fourier Transform Find the Fourier series for a periodic waveform Determine the output of a filter when the input is a periodic function Filters with a Single Sinusoidal Input: Suppose
More informationWavelets and Multiresolution Processing
Wavelets and Multiresolution Processing Wavelets Fourier transform has it basis functions in sinusoids Wavelets based on small waves of varying frequency and limited duration In addition to frequency,
More information3. Lecture. Fourier Transformation Sampling
3. Lecture Fourier Transformation Sampling Some slides taken from Digital Image Processing: An Algorithmic Introduction using Java, Wilhelm Burger and Mark James Burge Separability ² The 2D DFT can be
More informationIntroduction to Wavelets and Wavelet Transforms
Introduction to Wavelets and Wavelet Transforms A Primer C. Sidney Burrus, Ramesh A. Gopinath, and Haitao Guo with additional material and programs by Jan E. Odegard and Ivan W. Selesnick Electrical and
More informationENSC327 Communications Systems 2: Fourier Representations. Jie Liang School of Engineering Science Simon Fraser University
ENSC327 Communications Systems 2: Fourier Representations Jie Liang School of Engineering Science Simon Fraser University 1 Outline Chap 2.1 2.5: Signal Classifications Fourier Transform Dirac Delta Function
More informationCommunication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi
Communication Engineering Prof. Surendra Prasad Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 3 Brief Review of Signals and Systems My subject for today s discussion
More informationIntroduction to time-frequency analysis Centre for Doctoral Training in Healthcare Innovation
Introduction to time-frequency analysis Centre for Doctoral Training in Healthcare Innovation Dr. Gari D. Clifford, University Lecturer & Director, Centre for Doctoral Training in Healthcare Innovation,
More informationDCSP-2: Fourier Transform
DCSP-2: Fourier Transform Jianfeng Feng Department of Computer Science Warwick Univ., UK Jianfeng.feng@warwick.ac.uk http://www.dcs.warwick.ac.uk/~feng/dcsp.html Data transmission Channel characteristics,
More informationDiscrete 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 informationDigital Image Processing
Digital Image Processing Image Transforms Unitary Transforms and the 2D Discrete Fourier Transform DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON What is this
More informationOSE801 Engineering System Identification. Lecture 09: Computing Impulse and Frequency Response Functions
OSE801 Engineering System Identification Lecture 09: Computing Impulse and Frequency Response Functions 1 Extracting Impulse and Frequency Response Functions In the preceding sections, signal processing
More informationHHT: the theory, implementation and application. Yetmen Wang AnCAD, Inc. 2008/5/24
HHT: the theory, implementation and application Yetmen Wang AnCAD, Inc. 2008/5/24 What is frequency? Frequency definition Fourier glass Instantaneous frequency Signal composition: trend, periodical, stochastic,
More informationEE123 Digital Signal Processing
EE123 Digital Signal Processing Lecture 12 Introduction to Wavelets Last Time Started with STFT Heisenberg Boxes Continue and move to wavelets Ham exam -- see Piazza post Please register at www.eastbayarc.org/form605.htm
More informationWavelets and Signal Processing
Wavelets and Signal Processing John E. Gilbert Mathematics in Science Lecture April 30, 2002. Publicity Mathematics In Science* A LECTURE SERIES FOR UNDERGRADUATES Wavelets Professor John Gilbert Mathematics
More informationDiscrete Wavelet Transform
Discrete Wavelet Transform [11] Kartik Mehra July 2017 Math 190s Duke University "1 Introduction Wavelets break signals up and then analyse them separately with a resolution that is matched with scale.
More informationFourier 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 informationCHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L
CHAPTER 4 FOURIER SERIES 1 S A B A R I N A I S M A I L Outline Introduction of the Fourier series. The properties of the Fourier series. Symmetry consideration Application of the Fourier series to circuit
More informationReference Text: The evolution of Applied harmonics analysis by Elena Prestini
Notes for July 14. Filtering in Frequency domain. Reference Text: The evolution of Applied harmonics analysis by Elena Prestini It all started with: Jean Baptist Joseph Fourier (1768-1830) Mathematician,
More informationRepresentation of Signals & Systems
Representation of Signals & Systems Reference: Chapter 2,Communication Systems, Simon Haykin. Hilbert Transform Fourier transform frequency content of a signal (frequency selectivity designing frequency-selective
More informationJean Morlet and the Continuous Wavelet Transform
Jean Brian Russell and Jiajun Han Hampson-Russell, A CGG GeoSoftware Company, Calgary, Alberta, brian.russell@cgg.com ABSTRACT Jean Morlet was a French geophysicist who used an intuitive approach, based
More informationENT 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 informationThe Discrete-time Fourier Transform
The Discrete-time Fourier Transform Rui Wang, Assistant professor Dept. of Information and Communication Tongji University it Email: ruiwang@tongji.edu.cn Outline Representation of Aperiodic signals: The
More informationLecture Notes 5: Multiresolution Analysis
Optimization-based data analysis Fall 2017 Lecture Notes 5: Multiresolution Analysis 1 Frames A frame is a generalization of an orthonormal basis. The inner products between the vectors in a frame and
More informationLecture 16: Multiresolution Image Analysis
Lecture 16: Multiresolution Image Analysis Harvey Rhody Chester F. Carlson Center for Imaging Science Rochester Institute of Technology rhody@cis.rit.edu November 9, 2004 Abstract Multiresolution analysis
More informationPS403 - Digital Signal processing
PS403 - Digital Signal processing III. DSP - Digital Fourier Series and Transforms Key Text: Digital Signal Processing with Computer Applications (2 nd Ed.) Paul A Lynn and Wolfgang Fuerst, (Publisher:
More information2D Discrete Fourier Transform (DFT)
2D Discrete Fourier Transform (DFT) Outline Circular and linear convolutions 2D DFT 2D DCT Properties Other formulations Examples 2 2D Discrete Fourier Transform Fourier transform of a 2D signal defined
More informationInformation and Communications Security: Encryption and Information Hiding
Short Course on Information and Communications Security: Encryption and Information Hiding Tuesday, 10 March Friday, 13 March, 2015 Lecture 5: Signal Analysis Contents The complex exponential The complex
More informationSparse linear models and denoising
Lecture notes 4 February 22, 2016 Sparse linear models and denoising 1 Introduction 1.1 Definition and motivation Finding representations of signals that allow to process them more effectively is a central
More informationWavelet Transform. Figure 1: Non stationary signal f(t) = sin(100 t 2 ).
Wavelet Transform Andreas Wichert Department of Informatics INESC-ID / IST - University of Lisboa Portugal andreas.wichert@tecnico.ulisboa.pt September 3, 0 Short Term Fourier Transform Signals whose frequency
More informationWavelets. Lecture 28
Wavelets. Lecture 28 Just like the FFT, the wavelet transform is an operation that can be performed in a fast way. Operating on an input vector representing a sampled signal, it can be viewed, just like
More informationInformation Management course
Università degli Studi di Milano Master Degree in Computer Science Information Management course Teacher: Alberto Ceselli Lecture 03 : 09/10/2013 Data Mining: Concepts and Techniques (3 rd ed.) Chapter
More informationLab Fourier Analysis Do prelab before lab starts. PHSX 262 Spring 2011 Lecture 5 Page 1. Based with permission on lectures by John Getty
Today /5/ Lecture 5 Fourier Series Time-Frequency Decomposition/Superposition Fourier Components (Ex. Square wave) Filtering Spectrum Analysis Windowing Fast Fourier Transform Sweep Frequency Analyzer
More informationFall 2011, EE123 Digital Signal Processing
Lecture 6 Miki Lustig, UCB September 11, 2012 Miki Lustig, UCB DFT and Sampling the DTFT X (e jω ) = e j4ω sin2 (5ω/2) sin 2 (ω/2) 5 x[n] 25 X(e jω ) 4 20 3 15 2 1 0 10 5 1 0 5 10 15 n 0 0 2 4 6 ω 5 reconstructed
More informationSyllabus for IMGS-616 Fourier Methods in Imaging (RIT #11857) Week 1: 8/26, 8/28 Week 2: 9/2, 9/4
IMGS 616-20141 p.1 Syllabus for IMGS-616 Fourier Methods in Imaging (RIT #11857) 3 July 2014 (TENTATIVE and subject to change) Note that I expect to be in Europe twice during the term: in Paris the week
More informationSNR Calculation and Spectral Estimation [S&T Appendix A]
SR Calculation and Spectral Estimation [S&T Appendix A] or, How not to make a mess of an FFT Make sure the input is located in an FFT bin 1 Window the data! A Hann window works well. Compute the FFT 3
More informationTIME-FREQUENCY ANALYSIS: TUTORIAL. Werner Kozek & Götz Pfander
TIME-FREQUENCY ANALYSIS: TUTORIAL Werner Kozek & Götz Pfander Overview TF-Analysis: Spectral Visualization of nonstationary signals (speech, audio,...) Spectrogram (time-varying spectrum estimation) TF-methods
More informationFilter Banks II. Prof. Dr.-Ing. G. Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany
Filter Banks II Prof. Dr.-Ing. G. Schuller Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany Page Modulated Filter Banks Extending the DCT The DCT IV transform can be seen as modulated
More informationSignals and Systems Laboratory with MATLAB
Signals and Systems Laboratory with MATLAB Alex Palamides Anastasia Veloni @ CRC Press Taylor &. Francis Group Boca Raton London NewYork CRC Press is an imprint of the Taylor & Francis Group, an informa
More informationL29: Fourier analysis
L29: Fourier analysis Introduction The discrete Fourier Transform (DFT) The DFT matrix The Fast Fourier Transform (FFT) The Short-time Fourier Transform (STFT) Fourier Descriptors CSCE 666 Pattern Analysis
More informationSignals and Systems: Introduction
Dependent variable Signals and Systems: Introduction What is a signal? Signals may describe a wide variety of physical phenomena. The information in a signal is contained in a pattern of variations of
More informationUnstable Oscillations!
Unstable Oscillations X( t ) = [ A 0 + A( t ) ] sin( ω t + Φ 0 + Φ( t ) ) Amplitude modulation: A( t ) Phase modulation: Φ( t ) S(ω) S(ω) Special case: C(ω) Unstable oscillation has a broader periodogram
More informationSection 6: Summary Section 7
Section 6: Summary Section 7 a n = 2 ( 2πnx cos b n = 2 ( 2πnx sin d = f(x dx f(x = d + n= [ a n cos f(x dx f(x dx ( ( ] 2πnx 2πnx + b n sin You can sometimes combine multiple integrals using symmetry
More informationWAVELET TRANSFORMS IN TIME SERIES ANALYSIS
WAVELET TRANSFORMS IN TIME SERIES ANALYSIS R.C. SINGH 1 Abstract The existing methods based on statistical techniques for long range forecasts of Indian summer monsoon rainfall have shown reasonably accurate
More information!Sketch f(t) over one period. Show that the Fourier Series for f(t) is as given below. What is θ 1?
Second Year Engineering Mathematics Laboratory Michaelmas Term 998 -M L G Oldfield 30 September, 999 Exercise : Fourier Series & Transforms Revision 4 Answer all parts of Section A and B which are marked
More informationSignals and Systems Lecture (S2) Orthogonal Functions and Fourier Series March 17, 2008
Signals and Systems Lecture (S) Orthogonal Functions and Fourier Series March 17, 008 Today s Topics 1. Analogy between functions of time and vectors. Fourier series Take Away Periodic complex exponentials
More information! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals
ESE 531: Digital Signal Processing Lec 25: April 24, 2018 Review Course Content! Introduction! Discrete Time Signals & Systems! Discrete Time Fourier Transform! Z-Transform! Inverse Z-Transform! Sampling
More informationPART 1. Review of DSP. f (t)e iωt dt. F(ω) = f (t) = 1 2π. F(ω)e iωt dω. f (t) F (ω) The Fourier Transform. Fourier Transform.
PART 1 Review of DSP Mauricio Sacchi University of Alberta, Edmonton, AB, Canada The Fourier Transform F() = f (t) = 1 2π f (t)e it dt F()e it d Fourier Transform Inverse Transform f (t) F () Part 1 Review
More informationFundamentals 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 informationDigital Speech Processing Lecture 10. Short-Time Fourier Analysis Methods - Filter Bank Design
Digital Speech Processing Lecture Short-Time Fourier Analysis Methods - Filter Bank Design Review of STFT j j ˆ m ˆ. X e x[ mw ] [ nˆ m] e nˆ function of nˆ looks like a time sequence function of ˆ looks
More informationRepresenting a Signal
The Fourier Series Representing a Signal The convolution method for finding the response of a system to an excitation takes advantage of the linearity and timeinvariance of the system and represents the
More informationChapter 1. Discrete Fourier Transform. 1.1 Fourier series
Chapter Discrete Fourier Transform We usually think about processes around us as functions of time. However, it is often useful to think about them as functions of frequencies. We naturally do this without
More informationCompressing a 1D Discrete Signal
Compressing a D Discrete Signal Divide the signal into 8blocks. Subtract the sample mean from each value. Compute the 8 8covariancematrixforthe blocks. Compute the eigenvectors of the covariance matrix.
More informationReview of Linear Systems Theory
Review of Linear Systems Theory The following is a (very) brief review of linear systems theory, convolution, and Fourier analysis. I work primarily with discrete signals, but each result developed in
More informationMultimedia Networking ECE 599
Multimedia Networking ECE 599 Prof. Thinh Nguyen School of Electrical Engineering and Computer Science Based on lectures from B. Lee, B. Girod, and A. Mukherjee 1 Outline Digital Signal Representation
More informationSpecial Two-Semester Linear Algebra Course (Fall 2012 and Spring 2013)
Special Two-Semester Linear Algebra Course (Fall 2012 and Spring 2013) The first semester will concentrate on basic matrix skills as described in MA 205, and the student should have one semester of calculus.
More informationESS Finite Impulse Response Filters and the Z-transform
9. Finite Impulse Response Filters and the Z-transform We are going to have two lectures on filters you can find much more material in Bob Crosson s notes. In the first lecture we will focus on some of
More informationFast Fourier Transform
Fast Fourier Transform December 8, 2016 FFT JPEG RGB Y C B C R (luma (brightness), chroma 2 (color)) chroma resolution is reduced image is split in blocks 8 8 pixels JPEG RGB Y C B C R (luma (brightness),
More informationINTRODUCTION TO. Adapted from CS474/674 Prof. George Bebis Department of Computer Science & Engineering University of Nevada (UNR)
INTRODUCTION TO WAVELETS Adapted from CS474/674 Prof. George Bebis Department of Computer Science & Engineering University of Nevada (UNR) CRITICISM OF FOURIER SPECTRUM It gives us the spectrum of the
More informationIntroduction to Sparsity in Signal Processing
1 Introduction to Sparsity in Signal Processing Ivan Selesnick Polytechnic Institute of New York University Brooklyn, New York selesi@poly.edu 212 2 Under-determined linear equations Consider a system
More informationFilter Banks II. Prof. Dr.-Ing Gerald Schuller. Fraunhofer IDMT & Ilmenau Technical University Ilmenau, Germany
Filter Banks II Prof. Dr.-Ing Gerald Schuller Fraunhofer IDMT & Ilmenau Technical University Ilmenau, Germany Prof. Dr.-Ing. G. Schuller, shl@idmt.fraunhofer.de Page Modulated Filter Banks Extending the
More informationWavelets, Filter Banks and Multiresolution Signal Processing
Wavelets, Filter Banks and Multiresolution Signal Processing It is with logic that one proves; it is with intuition that one invents. Henri Poincaré Introduction - 1 A bit of history: from Fourier to Haar
More information