Laboratory in Oceanography: Data and Methods

Slides:



Advertisements
Similar presentations
Signals and Fourier Theory
Advertisements

Lecture 15 Orthogonal Functions Fourier Series. LGA mean daily temperature time series is there a global warming signal?
Thursday, October 12, Fourier Transform (and Inverse Fourier Transform) Last Class How to do Fourier Analysis (IDL, MATLAB) What is FFT?? What about.
Lecture 7 Linear time invariant systems
1 Chapter 16 Fourier Analysis with MATLAB Fourier analysis is the process of representing a function in terms of sinusoidal components. It is widely employed.
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
Intro to Spectral Analysis and Matlab. Time domain Seismogram - particle position over time Time Amplitude.
ELEC 303 – Random Signals Lecture 20 – Random processes
Intro to Spectral Analysis and Matlab Q: How Could you quantify how much lower the tone of a race car is after it passes you compared to as it is coming.
Lecture 6 Power spectral density (PSD)
Digital Image Processing
FFT-based filtering and the Short-Time Fourier Transform (STFT) R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2003.
3F4 Power and Energy Spectral Density Dr. I. J. Wassell.
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
Image Fourier Transform Faisal Farooq Q: How many signal processing engineers does it take to change a light bulb? A: Three. One to Fourier transform the.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
CELLULAR COMMUNICATIONS DSP Intro. Signals: quantization and sampling.
Systems: Definition Filter
Goals For This Class Quickly review of the main results from last class Convolution and Cross-correlation Discrete Fourier Analysis: Important Considerations.
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Discrete-Time and System (A Review)
ELEC ENG 4035 Communications IV1 School of Electrical & Electronic Engineering 1 Section 2: Frequency Domain Analysis Contents 2.1 Fourier Series 2.2 Fourier.
Where we’re going Speed, Storage Issues Frequency Space.
Motivation Music as a combination of sounds at different frequencies
Fourier Series Summary (From Salivahanan et al, 2002)
TELECOMMUNICATIONS Dr. Hugh Blanton ENTC 4307/ENTC 5307.
Review for Exam I ECE460 Spring, 2012.
Time Series Spectral Representation Z(t) = {Z 1, Z 2, Z 3, … Z n } Any mathematical function has a representation in terms of sin and cos functions.
1 The Fourier Series for Discrete- Time Signals Suppose that we are given a periodic sequence with period N. The Fourier series representation for x[n]
Chapter 4: Image Enhancement in the Frequency Domain Chapter 4: Image Enhancement in the Frequency Domain.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
Spectral Analysis AOE March 2011 Lowe 1. Announcements Lectures on both Monday, March 28 th, and Wednesday, March 30 th. – Fracture Testing –
Module 2 SPECTRAL ANALYSIS OF COMMUNICATION SIGNAL.
EE104: Lecture 5 Outline Review of Last Lecture Introduction to Fourier Transforms Fourier Transform from Fourier Series Fourier Transform Pair and Signal.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Background Any function that periodically repeats itself.
Chapter 2 Signals and Spectra (All sections, except Section 8, are covered.)
Chapter 6 Spectrum Estimation § 6.1 Time and Frequency Domain Analysis § 6.2 Fourier Transform in Discrete Form § 6.3 Spectrum Estimator § 6.4 Practical.
Astronomical Data Analysis I
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
ES97H Biomedical Signal Processing
revision Transfer function. Frequency Response
Lecture#10 Spectrum Estimation
Geology 5600/6600 Signal Analysis 16 Sep 2015 © A.R. Lowry 2015 Last time: A process is ergodic if time averages equal ensemble averages. Properties of.
Fourier Transform.
Discrete-time Random Signals
Geology 6600/7600 Signal Analysis 05 Oct 2015 © A.R. Lowry 2015 Last time: Assignment for Oct 23: GPS time series correlation Given a discrete function.
ENEE 322: Continuous-Time Fourier Transform (Chapter 4)
Learning from the Past, Looking to the Future James R. (Jim) Beaty, PhD - NASA Langley Research Center Vehicle Analysis Branch, Systems Analysis & Concepts.
Fourier Transform and Spectra
The Fourier Transform.
Convergence of Fourier series It is known that a periodic signal x(t) has a Fourier series representation if it satisfies the following Dirichlet conditions:
EE422G Signals and Systems Laboratory Fourier Series and the DFT Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Lecture 19 Spectrogram: Spectral Analysis via DFT & DTFT
Chapter 4 Discrete-Time Signals and transform
Fourier series With coefficients:.
Time Series Spectral Representation
Integral Transform Method
SIGNALS PROCESSING AND ANALYSIS
FFT-based filtering and the
Image Enhancement in the
Time domain & frequency domain
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F() is the spectrum of the function.
4. Image Enhancement in Frequency Domain
The Fourier Series for Continuous-Time Periodic Signals
Chapter 8 The Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Lec.6:Discrete Fourier Transform and Signal Spectrum
Fourier Transforms of Discrete Signals By Dr. Varsha Shah
Presentation transcript:

Laboratory in Oceanography: Data and Methods Intro to the Signal Processing Toolbox MAR599, Spring 2009 Miles A. Sundermeyer

Intro to Signal Processing Toolbox Basics of Fourier Transforms Suppose we have time or space series data ... wish to quantify information content of signal wish to separate periodic component from random component

Intro to Signal Processing Toolbox Basics of Fourier Transforms Fourier Transform (cont’d) Basic assumptions x(t) is one realization from an ensemble of realizations x(t) has a mean and correlation function, x(t) is stationary mean and correlation function are independent of t (i.e., “weakly” stationary) make ergodic assumption – can replace an ensemble average with average over time of single realization (in general, don’t have multiple realizations)

Intro to Signal Processing Toolbox Basics of Fourier Transforms Fourier Transform (cont’d) Define a finite Fourier transform as: Define “Power Spectrum” as: where * denotes the complex conjugate The power spectrum quantifies the amount of energy contained in different frequencies in the time series. The “theoretical” power spectrum has the property: where k denotes realizations within an ensemble

Intro to Signal Processing Toolbox Basics of Fourier Transforms Fourier Transform (cont’d) Problems with this: have discrete data (digitized) not infinite time series only have one realization In practice, we thus perform Fourier analysis on our single realization: By doing this, implicitly assume our finite interval time series is periodic. T ... T -T 2T

Intro to Signal Processing Toolbox Basics of Fourier Transforms Fourier Transform (cont’d) Matlab uses Fourier transform equivalent to continuous integral transform on infinite domain: Discrete transform on finite domain:

Intro to Signal Processing Toolbox Basics of Fourier Transforms Example: simple fft >> x = 1+cos(2*pi*[0:7]/8) >> X = fft(x); % forward fft >> xnew = ifft(X); % inverse fft >> [x' fft(x)' xnew'] ans = 2.0000 8.0000 2.0000 1.7071 4.0000 + 0.0000i 1.7071 1.0000 0.0000 - 0.0000i 1.0000 0.2929 0 - 0.0000i 0.2929 0 0 0 0.2929 0 + 0.0000i 0.2929 1.0000 0.0000 + 0.0000i 1.0000 1.7071 4.0000 - 0.0000i 1.7071 Note: Imaginary parts are all zero - no sine component First fft value is freq (k-1) = 0, cos(0) = 1, => fft = (npts) * (mean(x)) 2nd & 7th fft values are same & real, represent cosine variability with 8 points, i.e., freq of 2p/8. Amp of cosine variability in orig signal = 2*X2/N Other terms are zero since zero energy at other freqs.

Intro to Signal Processing Toolbox Basics of Fourier Transforms Example: simple fft (cont’d) Add a sine component and repeat >> x = 1 + cos(2*pi*[0:7]/8) -2*sin(4*pi*[0:7]/8) >> X = fft(x); % forward fft >> xnew = ifft(X); % inverse fft >> [x' fft(x)' xnew'] ans = 2.0000 8.0000 2.0000 -0.2929 4.0000 + 0.0000i -0.2929 1.0000 0.0000 - 8.0000i 1.0000 2.2929 -0.0000 - 0.0000i 2.2929 0.0000 -0.0000 0.0000 -1.7071 -0.0000 + 0.0000i -1.7071 1.0000 0.0000 + 8.0000i 1.0000 3.7071 4.0000 - 0.0000i 3.7071 Note: X3 = 8i, X7 = -8i ... Xn and XN+2-n are complex conjugates Imag parts of X2 and X7 => sine w/ freq 2*2p/N has amp 2*X3/8 = 2. In General, frequencies represented by fft are: 2*pi(k-1)/N, k = 0:(N/2) zero freq (mean), 2*pi*(1/N) (lowest) ... 2*pi*((N/2 - 1)/N) (highest = Nyquist freq)

Intro to Signal Processing Toolbox Frequency Spectra Example: Muddy Creek, Chatham, MA stage data – fft/spectrum via 4 methods: Harmonic analysis 1/N X*X Matlab’s ‘spectrum’ Matlab’s ‘periodogram’

Intro to Signal Processing Toolbox Frequency Spectra Variance Preserving Form Variance preserving form: f · Pxx plotted on a semilogx axis

Intro to Signal Processing Toolbox Cautions for Fourier Space – Gibbs Phenomenon

Intro to Signal Processing Toolbox Cautions for Fourier Space - Aliasing

Intro to Signal Processing Toolbox Cautions for Fourier Space - Aliasing signal freq Nyquist freq

Intro to Signal Processing Toolbox Signal Processing Toolbox Convolution and filters The convolution of two functions is defined as:                                             where ∗ denotes the convolution operation. In Fourier space, the convolution is the product of the Fourier transforms of the functions:

Intro to Signal Processing Toolbox Signal Processing Toolbox Convolution and filters (cont’d) Matlab’s ‘fdesign’ function for filter building

Intro to Signal Processing Toolbox Signal Processing Toolbox Example: Low-Pass Filter

Intro to Signal Processing Toolbox Signal Processing Toolbox Example: Low-Pass Filter (cont’d)

Intro to Signal Processing Toolbox Signal Processing Toolbox Example: Windowing

Intro to Signal Processing Toolbox Signal Processing Toolbox Example: Windowing

Intro to Signal Processing Toolbox Signal Processing Toolbox Spectral Estimators in Matlab Spectral analysis includes three types of spectral estimators — power spectral density (PSD), mean-square spectrum (MSS) and pseudo spectrum. Power spectral density (psd) measures power per unit of frequency and has power/frequency units. Mean-square (power) spectrum (msspectrum) measures power at a specific frequency. Pseudospectrum (pseudospectrum) returns a pseudo spectrum that does not have any units.

Intro to Signal Processing Toolbox Signal Processing Toolbox Useful Tidbits: fft, ifft - compute forward and inverse fft spectrum - for computing various types of spectra spectrum.welch - for computing windowed spectra butter - for computing Butterworth filters freqz - for computing Fourier representations of filters filter, filtfilt - for time domain filtering Some References: Bendat, J. S., and A. G. Piersol: Random Data: Analysis and Measurement Procedures (1st Ed. 1971) Priestly, M. B.: Spectral Analysis and Time Series. 1983.