Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore

Slides:



Advertisements
Similar presentations
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
Advertisements

1 Rev 01/01/2015.  The main difference between analog and digital /discrete is that analog data is continuous and digital data is discrete.  We need.
SIMS-201 Characteristics of Audio Signals Sampling of Audio Signals Introduction to Audio Information.
IT-101 Section 001 Lecture #8 Introduction to Information Technology.
CEN352, Dr. Ghulam Muhammad King Saud University
School of Computing Science Simon Fraser University
Computer Graphics Recitation 6. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
Computer Graphics Recitation 7. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 5 Introduction to Networks and the Internet.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2007 Shreekanth Mandayam ECE Department Rowan University.
Chapter 2 : Business Information Business Data Communications, 4e.
Fourier Theory and its Application to Vision
Fourier Analysis D. Gordon E. Robertson, PhD, FCSB School of Human Kinetics University of Ottawa.
Fourier Transform and Applications
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
Boyce/DiPrima 10th ed, Ch 10.2: Fourier Series Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and Richard.
Digital Data Patrice Koehl Computer Science UC Davis.
Goals For This Class Quickly review of the main results from last class Convolution and Cross-correlation Discrete Fourier Analysis: Important Considerations.
Frequency Domain Representation of Sinusoids: Continuous Time Consider a sinusoid in continuous time: Frequency Domain Representation: magnitude phase.
DSP for Dummies aka How to turn this (actual raw sonar trace) Into this.. (filtered sonar data)
Discrete-Time and System (A Review)
Digital audio. In digital audio, the purpose of binary numbers is to express the values of samples that represent analog sound. (contrasted to MIDI binary.
DTFT And Fourier Transform
Sampling Terminology f 0 is the fundamental frequency (Hz) of the signal –Speech: f 0 = vocal cord vibration frequency (>=80Hz) –Speech signals contain.
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
GCT731 Fall 2014 Topics in Music Technology - Music Information Retrieval Overview of MIR Systems Audio and Music Representations (Part 1) 1.
Lecture 1 Signals in the Time and Frequency Domains
Motivation Music as a combination of sounds at different frequencies
CSC361/661 Digital Media Spring 2002
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Digital Signal Processing
Fourier series. The frequency domain It is sometimes preferable to work in the frequency domain rather than time –Some mathematical operations are easier.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
1 Introduction to Information Technology LECTURE 6 AUDIO AS INFORMATION IT 101 – Section 3 Spring, 2005.
Fourier Analysis of Discrete Time Signals
Astronomical Data Analysis I
1 Rev 07/28/2015.  Describe: examples, definition,? 2.
Fourier Series Fourier Transform Discrete Fourier Transform ISAT 300 Instrumentation and Measurement Spring 2000.
revision Transfer function. Frequency Response
Multimedia Sound. What is Sound? Sound, sound wave, acoustics Sound is a continuous wave that travels through a medium Sound wave: energy causes disturbance.
Continuous-time Signal Sampling
Digital Audio I. Acknowledgement Some part of this lecture note has been taken from multimedia course made by Asst.Prof.Dr. William Bares and from Paul.
PAM Modulation Lab#3. Introduction An analog signal is characterized by the fact that its amplitude can take any value over a continuous range. On the.
Chapter 2. Characteristics of Signal ※ Signal : transmission of information The quality of the information depends on proper selection of a measurement.
Digital Image Processing Lecture 7: Image Enhancement in Frequency Domain-I Naveed Ejaz.
The Fourier Transform.
Digital Signal Processing
Sampling and DSP Instructor: Dr. Mike Turi Department of Computer Science & Computer Engineering Pacific Lutheran University.
Ch 10.2: Fourier Series We will see that many important problems involving partial differential equations can be solved, provided a given function can.
Part II Physical Layer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
III Digital Audio III.2 (M Oct 02) Finite Fourier Theory.
Data analysis and modeling: the tools of the trade
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Integral Transform Method
The Physics of Sound.
MECH 373 Instrumentation and Measurements
MECH 373 Instrumentation and Measurements
Multimedia Systems and Applications
Lecture 9: Sampling & PAM 1st semester By: Elham Sunbu.
Multimedia Fundamentals(continued)
The sampling of continuous-time signals is an important topic
4.1 DFT In practice the Fourier components of data are obtained by digital computation rather than by analog processing. The analog values have to be.
Fourier Analyses Time series Sampling interval Total period
Fourier series Periodic functions and signals may be expanded into a series of sine and cosine functions
Analog to Digital Encoding
CEN352, Dr. Ghulam Muhammad King Saud University
Today's lecture System Implementation Discrete Time signals generation
Discrete Fourier Transform
Lec.6:Discrete Fourier Transform and Signal Spectrum
Presentation transcript:

Fourier Analysis Patrice Koehl Department of Biological Sciences National University of Singapore

Fourier analysis: the dial tone phone We use Fourier analysis everyday…without knowing it! A dial tone phone is probably the best example:

Fourier analysis: the dial tone phone

Fourier Analysis  Fourier series for periodic functions  Fourier Transform for continuous functions  Sampling  Discrete Fourier Transform for discrete functions

Fourier Analysis  Fourier series for periodic functions  Fourier Transform for continuous functions  Sampling  Discrete Fourier Transform for discrete functions

Periodic functions A function f is periodic, with period T if and only if: Examples of periodic functions: sin(t) cos(t)

Fourier series A Fourier series of a periodic function f (with period 2) defined as an expansion of f in a series of sines and cosines such as Fourier series are named in honor of Joseph Fourier ( ), who made important contributions to the study of trigonometric series.

Fourier series Computing the coefficients a and b:

Fourier series: example 1

Fourier series: example 2

Fourier series If we express cos nx and sin nx in exponential form, in which and we may rewrite this equation as

Fourier series For a function g with period T: where f 0 = 1/T is the fundamental frequency for the function g. In this formula, G(n) can be written as:

Fourier Analysis  Fourier series for periodic functions  Fourier Transform for continuous functions  Sampling  Discrete Fourier Transform for discrete functions

Fourier transform For a periodic function f with period T, the Fourier coefficients F(n) are computed at multiples nf 0 of a fundamental frequency f 0 =1/T For a non periodic function g(t), the Fourier coefficients become a continuous function of the frequencies f: (1) g(t) can then be reconstructed according to: (2) (1)Is referred to as the Fourier transform, while (2) is the inverse Fourier transform

Notes: -The function g(t) must be integrable; it can be real or complex -The equations above can be obtained by looking at the limits of the Fourier series -The Fourier Transform can be rewritten as a function of  = 2f, the angular frequency.

Fourier transform: example

Properties of the Fourier Transform

Fourier Analysis  Fourier series for periodic functions  Fourier Transform for continuous functions  Sampling  Discrete Fourier Transform for discrete functions

Sound is produced by the vibration of a media like air or water. Audio refers to the sound within the range of human hearing. Naturally, a sound signal is analog, i.e. continuous in both time and amplitude. To store and process sound information in a computer or to transmit it through a computer network, we must first convert the analog signal to digital form using an analog-to-digital converter ( ADC ); the conversion involves two steps: (1) sampling, and (2) quantization. Digital Sound

Sampling Sampling is the process of examining the value of a continuous function at regular intervals. Sampling usually occurs at uniform intervals, which are referred to as sampling intervals. The reciprocal of sampling interval is referred to as the sampling frequency or sampling rate. If the sampling is done in time domain, the unit of sampling interval is second and the unit of sampling rate is Hz, which means cycles per second.

Note that choosing the sampling rate is not innocent: Sampling A higher sampling rate usually allows for a better representation of the original sound wave. However, when the sampling rate is set to twice the highest frequency in the signal, the original sound wave can be reconstructed without loss from the samples. This is known as the Nyquist theorem.

Quantization Quantization is the process of limiting the value of a sample of a continuous function to one of a predetermined number of allowed values, which can then be represented by a finite number of bits.

Quantization The number of bits used to store each intensity defines the accuracy of the digital sound: Adding one bit makes the sample twice as accurate

Audio Sound Sampling: The human ear can hear sound up to 20,000 Hz: a sampling rate of 40,000 Hz is therefore sufficient. The standard for digital audio is 44,100 Hz. Quantization: The current standard for the digital representation of audio sound is to use 16 bits (i.e levels, half positive and half negative) How much space do we need to store one minute of music? - 60 seconds - 44,100 samples -16 bits (2 bytes) per sample - 2 channels (stereo) S = 60x44100x2x2 = 10,534,000 bytes ≈ 10 MB !! 1 hour of music would be more than 600 MB !

Fourier Analysis  Fourier series for periodic functions  Fourier Transform for continuous functions  Sampling  Discrete Fourier Transform for discrete functions

Discrete time Fourier Transform Given a discrete set of values x(n), with n integer; the discrete Time Fourier transform of x is: Notice that X(f) is periodic:

The sequence of numbers x 0,…x N-1 is transformed into a new series of numbers X 0,….X N-1 according to the digital Fourier transform (DFT) formula: Discrete Fourier Transform The inverse DFT is given by:

Discrete Fourier Transform Notes: -If x(n) is a time signal, and  is the constant time interval between two time points, then the total duration of the time signal is (N-1)*; the fundamental frequency is f0=1/(N*) -If n is a power of 2, X(k) can be computed really fast using the Fast Fourier Transform (FFT) The corresponding command in Matlab is: X = fft(x) -x(n) can be real or complex. X(k) is always complex.

Continuous time signal Continuous Fourier domain Periodic time signal Discrete Fourier domain Discrete time signal Periodic Fourier domain Discrete, finite time signal Discrete, finite Fourier domain Fourier analysis

Summary table