Short-Time Fourier Analysis Why STFT for Speech Signals Overview

Total Page:16

File Type:pdf, Size:1020Kb

Short-Time Fourier Analysis Why STFT for Speech Signals Overview General Discrete-Time Model of Speech Production Digital Speech Processing— Lecture 9 Short-Time Fourier Analysis Methods- Voiced Speech: • AVP(z)G(z)V(z)R(z) Introduction Unvoiced Speech: 1 • ANN(z)V(z)R(z) 2 Short-Time Fourier Analysis Why STFT for Speech Signals • represent signal by sum of sinusoids or • steady state sounds, like vowels, are produced complex exponentials as it leads to convenient by periodic excitation of a linear system => solutions to problems (formant estimation, pitch speech spectrum is the product of the excitation period estimation, analysis-by-synthesis spectrum and the vocal tract frequency response methods), and insight into the signal itself • speech is a time-varying signal => need more sophisticated analysis to reflect time varying • such Fourier representations provide properties – convenient means to determine response to a sum of – changes occur at syllabic rates (~10 times/sec) sinusoids for linear systems – over fixed time intervals of 10-30 msec, properties of – clear evidence of signal properties that are obscured most speech signals are relatively constant (when is in the original signal this not the case) 3 4 Frequency Domain Processing Overview of Lecture • define time-varying Fourier transform (STFT) analysis method • define synthesis method from time-varying FT (filter-bank summation, overlap addition) • show how time-varying FT can be viewed in terms of a bank of filters model • Coding: • computation methods based on using FFT – transform, subband, homomorphic, channel vocoders • application to vocoders, spectrum displays, • Restoration/Enhancement/Modification: format estimation, pitch period estimation – noise and reverberation removal, helium restoration, time-scale modifications (speed-up and slow-down of speech) 5 6 1 Frequency and the DTFT DTFT and DFT of Speech • sinusoids The DTFT and the DFT for the infinite duration jnωω00− jn signal could be calculated (the DTFT) and xn( )==+ cos(ω0 n ) ( e e )/ 2 approximated (the DFT) by the following: where ω0 is the frequency (in radians) of the sinusoid ∞ • the Discrete-Time Fourier Transform (DTFT ) Xe(jjmωω )= ∑ xme ( )− ( DTFT ) ∞ m=−∞ jjnωω− Xe( )== xne ( ) x (n) L−1 ∑ DTFT {} − jLkm(2π / ) n=−∞ Xk()= ∑ xmwme ( )( ) ,kL=−0,1,..., 1 π m=0 1 jjnωω-1 j ω xn()== Xe ( ) e dω DTFT {} Xe ( ) = Xe()jω ( DFT ) ∫ ωπ=(2kL / ) 2π −π where ω is the frequency variable of Xe(jω ) using a value of L=25000 we get the following plot 7 8 25000-Point DFT of Speech Magnitude Short-Time Fourier Transform (STFT) Log Magnitude (dB) 9 10 Short-Time Fourier Transform Definition of STFT ∞ jjmωωˆˆˆˆ− • speech is not a stationary signal, i.e., it Xenˆ ( )=−∑ xmwnme ( ) ( ) both n and ωˆ are variables m=−∞ has properties that change with time •− wn(ˆˆ m ) is a real window which determines the portion of xn( ) jωˆ • thus a single representation based on all that is used in the computation of Xenˆ ( ) the samples of a speech utterance, for the most part, has no meaning • instead, we define a time-dependent Fourier transform (TDFT or STFT) of speech that changes periodically as the speech properties change over time 11 12 2 Short Time Fourier Transform Short-Time Fourier Transform • STFT is a function of two variables, the time index, nˆ, which • alternative form of STFT (based on change of variables) is is discrete, and the frequency variable, ωˆ, which is continuous ∞ ∞ jjnmωωˆˆ−−()ˆ jjmωωˆˆ− Xenˆ ( )=− wmxnme ( ) (ˆ ) Xenˆ ()=− xmwnme ()(ˆ ) ∑ ∑ m=−∞ m=−∞ ∞ ˆˆ ˆ =−⇒ DTFT (xmwn ( ) ( m )) n fixed, ωˆ variable =−exnmwme− jnωωˆˆ∑ ()()ˆ jm m=−∞ • if we define ∞ % jjmωωˆˆˆ Xenˆ ( )=−∑ xnmwme ( ) ( ) m=−∞ jωˆ • then Xenˆ ( ) can be expressed as (using mm′ =− ) jjnjjnωωˆˆ−−ˆˆ ωω ˆˆ ˆ Xenˆ ()== e Xe% n () eDTFT ⎣⎦⎡⎤ xnmwm ( +− )() 13 14 STFT-Different Time Origins Time Origin for STFT • the STFT can be viewed as having two different time origins 1. time origin tied to signal xn( ) mnx=−ˆ ⇒ [0] ∞ jjmωωˆˆˆ − Xenˆ ()=−∑ xmwnme ()( ) m=−∞ =− DTFT ⎣⎦⎡⎤xmwn( ) (ˆˆ m ) , n fixed, ωˆ variable Time origin tied to 2. time origin tied to window signal wm(− ) ∞ window wmxnm[][]−+ˆ jjnωωˆˆ−−ˆ ˆ jm ω ˆ Xenˆ ()=+− e∑ xnmwme ( )() m=−∞ = eXe− jnωωˆˆˆ % () j − jnωˆ ˆ =−+ewmxnmnDTFT ⎣⎦⎡⎤( ) (ˆˆ ) , fixed, ωˆ variable 15 16 Interpretations of STFT Fourier Transform Interpretation jωˆ • there are 2 distinct interpretations of Xenˆ ( ) jωˆ • consider Xenˆ ( ) as the normal Fourier transform of the sequence 1. assume nXeˆ is fixed, then (jωˆ ) is simply the normal Fourier nˆ wn(ˆˆ−−∞<<∞ mxm ) ( ), m for fixed n. transform of the sequence wn(ˆ −−∞<<∞=> mxm ) ( ), m for •− the window wn(ˆ m ) slides along the sequence xm( ) and defines a jωˆ fixed nXˆ, nˆ ( e ) has the same properties as a normal Fourier new STFT for every value of nˆ transform • what are the conditions for the existence of the STFT jωˆ ˆ 2. consider Xenˆ ( ) as a function of the time index n with ωˆ fixed. •− the sequence wn(ˆ mxm ) ( ) must be absolutely summable for all jωˆ ˆ − jnωˆ ˆ values of nˆ Then Xenˆ ( ) is in the form of a convolution of the signal xne( ) with the window wn(ˆ ). This leads to an interpretation in the form of - since |xn (ˆ ) |≤ L (32767 for 16-bit sampling) − jnωˆ ˆ ˆ linear filtering of the frequency modulated signal xne(ˆˆ ) by wn( ). - since |wn ( ) |≤ 1 (normalized window levels) - since window duration is usually finite ˆˆ - we will now consider each of these interpretations of the STFT in •− wn( mxm ) ( ) is absolutely summable for all n a lot more detail 17 18 3 Frequencies for STFT Signal Recovery from STFT jωˆ • the STFT is periodic in ω with period 2π , i.e., • since for a given value of nXˆ,nˆ ( e ) has the same properties as a jjkωωπˆˆ()+2 normal Fourier transform, we can recover the input sequence exactly Xennˆˆ()=∀ Xe ( ), k • since Xe(jωˆ ) is the normal Fourier transform of the windowed • can use any of several frequency variables nˆ sequence wn(ˆ − mxm ) ( ), then to express STFT, including 1 π wn(ˆ −= mxm ) ( ) X ( ejjmωωˆˆ ) e dωˆ --ωˆ =Ωˆ TT (where is the sampling period for ∫ nˆ 2π −π xm( )) to represent analog radian frequency, •≠ assuming the window satisfies the property that w(00 ) ( a trivial jTΩˆ requirement), then by evaluating the inverse Fourier transform giving Xenˆ ( ) when mn= ˆ, we obtain ˆ ˆ --ωπˆˆ==22fFT or ωπ to represent normalized 1 π xn(ˆ )= X ( ejjnωωˆ ) eˆ dωˆ ˆ ∫ nˆ frequency (0≤≤f 1 ) or analog frequency 20π w()−π ˆ jf2π ˆ j 2πFTˆ (0≤≤FFs =1 /T ), giving Xenˆ ( ) or Xenˆ ( ) 19 20 Signal Recovery from STFT Properties of STFT jωˆ Xenˆ ( )=−DTFT [ wnmxm (ˆˆ ) ( )] n fixed, ωˆ variable π 1 jjnωωˆ ˆ • relation to short-time power density function xn(ˆ )= Xnˆ ( e ) e dωˆ ∫ jjωωˆˆ2 jj ωω ˆˆ∗ 20π w()−π ˆ Sennˆˆ( )==⋅= | Xe ( ) | Xe nn ˆˆ ( ) Xe ( )DTFT [] Rk n ˆ ( ) n fixed •≠ with the requirement that wxn(00 ) , the sequence (ˆ ) ∞ jωˆ ˆˆ Rk()=− wnmxmwnm (ˆˆ )( )( −−+⇔ kxmk )( ) S()e can be recovered exactly from Xe(jjωω ), if Xe( ) is known nˆ ∑ nˆ nnˆˆ m=−∞ for all values of ωˆ over one complete period • Relation to regular Xe(jωˆ ) (assuming it exists) - sample-by-sample recovery process ∞ jjmωωˆˆ− jωˆ Xe()==DTFT [] xm ()∑ xme () - Xenˆ ( ) must be known for every value of nˆ and for all ωˆ m=−∞ ˆ π can also recover sequence wn(− mxm ) ( ) but can't guarantee jjjjnωθωθθˆˆ1 −−−() ˆ Xe()= We ( )( Xe ) e dθ ˆ nˆ ∫ that xm( ) can be recovered since w(nm− ) can equal 0 2π −π ˆ −−jjnjθθˆ θ ⎣⎦⎡⎤wn()()()−↔ m xm We e ∗ Xe () 21 22 Properties of STFT Alternative Forms of STFT Alternative forms of Xe(jωˆ ) • assume Xe(jωˆ ) exists nˆ 1. real and imaginary parts ∞ jjmωωˆˆ− Xe(jjωωˆˆ )=+ Re⎡⎤⎡⎤ Xe ( ) j Im Xe ( j ω ˆ ) Xe( )==DTFT [] xm ()∑ xme () nnˆˆ⎣⎦⎣⎦ n ˆ m=−∞ =−ajb()ωωˆˆ () π nnˆˆ 1 ˆ Xe()jjjjnωθωθθˆˆ= We (−−− )( Xe() ) e dθ aXe()ωˆ = Re⎡⎤ (jωˆ ) nˆ ∫ nnˆˆ⎣⎦ 2π −π bXe()ωˆ =− Im⎡⎤ (jωˆ ) • limiting case nnˆˆ⎣⎦ •− when xm( ) and wn(ˆ m ) are both real (usually the case) wn()ˆˆ=−∞<<∞⇔12 n We (jωˆ ) =πδ () ωˆ can show that abˆˆ(ωωωˆˆˆ ) is symmetric in , and ( ) is 1 π nn X() ejjjnjωωθθωˆˆˆ=−2πδ ()( θ Xe()−− ) eˆ d θ = Xe () anti-symmetric in ωˆ nˆ 2π ∫ −π 2. magnitude and phase i.e., we get the same thing no matter where the window is jjωωˆˆjθωnˆ ()ˆ Xennˆˆ( )= | Xe ( ) | e shifted jωˆ • can relate |Xennˆˆ ( ) | and θω(ˆ ) to abnnˆˆ(ωωˆˆ ) and ( ) 23 24 4 Role of Window in STFT Role of Window in STFT The window wn(ˆ − m ) does the following: • then for fixed nˆ, the normal Fourier transform of the 1. chooses portion of xm( ) to be analyzed product wn(ˆ − mxm ) ( ) is the convolution of the transforms 2. window shape determines the nature of Xe(jωˆ ) nˆ of wn(ˆ − m ) and xm( ) Since Xe(jωˆ ) (for fixed nˆ) is the normal FT of wn(ˆ − mxm ) ( ), nˆ •− for fixed nwnmWeeˆˆ, the FT of ( ) is (−−jjnωωˆˆ )ˆ --thus then if we consider the normal FT's of both xn( ) and wn( ) 1 π individually, we get Xe()jjjnjωθθωθˆˆ= We (−− ) eˆ Xe (() − ) dθ nˆ ∫ ∞ 2π −π Xe(jjmωωˆˆ )= ∑ xme ( ) − m=−∞ •− and replacing θθ by gives ∞ π jjmωωˆˆ− 1 We()= ∑ wme () Xe(jjjnjωθθωθˆˆ )= Wee ( )ˆ Xe (()+ ) dθ m=−∞ nˆ ∫ 2π −π 25 26 Interpretation of Role of Window Windows in STFT jωˆ ˆ jjωωˆˆ • for Xenˆ ( ) to represent the short-time spectral properties of xn( ) • Xenˆ ( ) is the convolution of Xe( ) with the FT of the shifted inside the window => We(jθ ) should be much narrower in frequency window sequence We(−−jjnωωˆˆ ) e ˆ than significant spectral regions of Xe(jωˆ )--i.e., almost an impulse • Xe(jωˆ ) really doesn't have meaning since xn(ˆ ) varies with time; in frequency consider xn(ˆ ) defined for window duration and extended for all time • consider rectangular and Hamming windows, where width of the jωˆ to have the same properties⇒ then Xe( ) does exist with properties main spectral lobe is inversely proportional to window length, and side that reflect the sound within the window (can also consider xn(ˆ )= 0 lobe levels are essentially independent of window length outside the window and define Xe(jωˆ ) appropriately--but this is another case) Rectangular Window: flat window of length L samples; first Bottom Line: Xe(jωˆ ) is a smoothed version of the FT of the part zero in frequency response occurs at FS/L, with sidelobe levels nˆ of -14 dB or lower of xn(ˆ ) that is within the window w.
Recommended publications
  • The Fast Fourier Transform
    The Fast Fourier Transform Derek L. Smith SIAM Seminar on Algorithms - Fall 2014 University of California, Santa Barbara October 15, 2014 Table of Contents History of the FFT The Discrete Fourier Transform The Fast Fourier Transform MP3 Compression via the DFT The Fourier Transform in Mathematics Table of Contents History of the FFT The Discrete Fourier Transform The Fast Fourier Transform MP3 Compression via the DFT The Fourier Transform in Mathematics Navigating the Origins of the FFT The Royal Observatory, Greenwich, in London has a stainless steel strip on the ground marking the original location of the prime meridian. There's also a plaque stating that the GPS reference meridian is now 100m to the east. This photo is the culmination of hundreds of years of mathematical tricks which answer the question: How to construct a more accurate clock? Or map? Or star chart? Time, Location and the Stars The answer involves a naturally occurring reference system. Throughout history, humans have measured their location on earth, in order to more accurately describe the position of astronomical bodies, in order to build better time-keeping devices, to more successfully navigate the earth, to more accurately record the stars... and so on... and so on... Time, Location and the Stars Transoceanic exploration previously required a vessel stocked with maps, star charts and a highly accurate clock. Institutions such as the Royal Observatory primarily existed to improve a nations' navigation capabilities. The current state-of-the-art includes atomic clocks, GPS and computerized maps, as well as a whole constellation of government organizations.
    [Show full text]
  • Fourier Series
    Academic Press Encyclopedia of Physical Science and Technology Fourier Series James S. Walker Department of Mathematics University of Wisconsin–Eau Claire Eau Claire, WI 54702–4004 Phone: 715–836–3301 Fax: 715–836–2924 e-mail: [email protected] 1 2 Encyclopedia of Physical Science and Technology I. Introduction II. Historical background III. Definition of Fourier series IV. Convergence of Fourier series V. Convergence in norm VI. Summability of Fourier series VII. Generalized Fourier series VIII. Discrete Fourier series IX. Conclusion GLOSSARY ¢¤£¦¥¨§ Bounded variation: A function has bounded variation on a closed interval ¡ ¢ if there exists a positive constant © such that, for all finite sets of points "! "! $#&% (' #*) © ¥ , the inequality is satisfied. Jordan proved that a function has bounded variation if and only if it can be expressed as the difference of two non-decreasing functions. Countably infinite set: A set is countably infinite if it can be put into one-to-one £0/"£ correspondence with the set of natural numbers ( +,£¦-.£ ). Examples: The integers and the rational numbers are countably infinite sets. "! "!;: # # 123547698 Continuous function: If , then the function is continuous at the point : . Such a point is called a continuity point for . A function which is continuous at all points is simply referred to as continuous. Lebesgue measure zero: A set < of real numbers is said to have Lebesgue measure ! $#¨CED B ¢ £¦¥ zero if, for each =?>A@ , there exists a collection of open intervals such ! ! D D J# K% $#L) ¢ £¦¥ ¥ ¢ = that <GFIH and . Examples: All finite sets, and all countably infinite sets, have Lebesgue measure zero. "! "! % # % # Odd and even functions: A function is odd if for all in its "! "! % # # domain.
    [Show full text]
  • Discrete-Time Fourier Transform
    .@.$$-@@4&@$QEG'FC1. CHAPTER7 Discrete-Time Fourier Transform In Chapter 3 and Appendix C, we showed that interesting continuous-time waveforms x(t) can be synthesized by summing sinusoids, or complex exponential signals, having different frequencies fk and complex amplitudes ak. We also introduced the concept of the spectrum of a signal as the collection of information about the frequencies and corresponding complex amplitudes {fk,ak} of the complex exponential signals, and found it convenient to display the spectrum as a plot of spectrum lines versus frequency, each labeled with amplitude and phase. This spectrum plot is a frequency-domain representation that tells us at a glance “how much of each frequency is present in the signal.” In Chapter 4, we extended the spectrum concept from continuous-time signals x(t) to discrete-time signals x[n] obtained by sampling x(t). In the discrete-time case, the line spectrum is plotted as a function of normalized frequency ωˆ . In Chapter 6, we developed the frequency response H(ejωˆ ) which is the frequency-domain representation of an FIR filter. Since an FIR filter can also be characterized in the time domain by its impulse response signal h[n], it is not hard to imagine that the frequency response is the frequency-domain representation,orspectrum, of the sequence h[n]. 236 .@.$$-@@4&@$QEG'FC1. 7-1 DTFT: FOURIER TRANSFORM FOR DISCRETE-TIME SIGNALS 237 In this chapter, we take the next step by developing the discrete-time Fouriertransform (DTFT). The DTFT is a frequency-domain representation for a wide range of both finite- and infinite-length discrete-time signals x[n].
    [Show full text]
  • Fourier Analysis
    Fourier Analysis Hilary Weller <[email protected]> 19th October 2015 This is brief introduction to Fourier analysis and how it is used in atmospheric and oceanic science, for: Analysing data (eg climate data) • Numerical methods • Numerical analysis of methods • 1 1 Fourier Series Any periodic, integrable function, f (x) (defined on [ π,π]), can be expressed as a Fourier − series; an infinite sum of sines and cosines: ∞ ∞ a0 f (x) = + ∑ ak coskx + ∑ bk sinkx (1) 2 k=1 k=1 The a and b are the Fourier coefficients. • k k The sines and cosines are the Fourier modes. • k is the wavenumber - number of complete waves that fit in the interval [ π,π] • − sinkx for different values of k 1.0 k =1 k =2 k =4 0.5 0.0 0.5 1.0 π π/2 0 π/2 π − − x The wavelength is λ = 2π/k • The more Fourier modes that are included, the closer their sum will get to the function. • 2 Sum of First 4 Fourier Modes of a Periodic Function 1.0 Fourier Modes Original function 4 Sum of first 4 Fourier modes 0.5 2 0.0 0 2 0.5 4 1.0 π π/2 0 π/2 π π π/2 0 π/2 π − − − − x x 3 The first four Fourier modes of a square wave. The additional oscillations are “spectral ringing” Each mode can be represented by motion around a circle. ↓ The motion around each circle has a speed and a radius. These represent the wavenumber and the Fourier coefficients.
    [Show full text]
  • The Fractional Fourier Transform and Applications David H. Bailey and Paul N. Swarztrauber October 19, 1995 Ref: SIAM Review, Vo
    The Fractional Fourier Transform and Applications David H. Bailey and Paul N. Swarztraub er Octob er 19, 1995 Ref: SIAM Review,vol. 33 no. 3 (Sept. 1991), pg. 389{404 Note: See Errata note, available from the same web directory as this pap er Abstract This pap er describ es the \fractional Fourier transform", which admits computation by an algorithm that has complexity prop ortional to the fast Fourier transform algorithm. 2 i=n Whereas the discrete Fourier transform (DFT) is based on integral ro ots of unity e , 2i the fractional Fourier transform is based on fractional ro ots of unity e , where is arbitrary. The fractional Fourier transform and the corresp onding fast algorithm are useful for such applications as computing DFTs of sequences with prime lengths, computing DFTs of sparse sequences, analyzing sequences with non-integer p erio dicities, p erforming high-resolution trigonometric interp olation, detecting lines in noisy images and detecting signals with linearly drifting frequencies. In many cases, the resulting algorithms are faster by arbitrarily large factors than conventional techniques. Bailey is with the Numerical Aero dynamic Simulation (NAS) Systems Division at NASA Ames ResearchCenter, Mo ett Field, CA 94035. Swarztraub er is with the National Center for Atmospheric Research, Boulder, CO 80307, whichissponsoredby National Sci- ence Foundation. This work was completed while Swarztraub er was visiting the Research Institute for Advanced Computer Science (RIACS) at NASA Ames. Swarztraub er's work was funded by the NAS Systems Division via Co op erative Agreement NCC 2-387 b etween NASA and the Universities Space Research Asso ciation.
    [Show full text]
  • Fourier Analysis
    FOURIER ANALYSIS Lucas Illing 2008 Contents 1 Fourier Series 2 1.1 General Introduction . 2 1.2 Discontinuous Functions . 5 1.3 Complex Fourier Series . 7 2 Fourier Transform 8 2.1 Definition . 8 2.2 The issue of convention . 11 2.3 Convolution Theorem . 12 2.4 Spectral Leakage . 13 3 Discrete Time 17 3.1 Discrete Time Fourier Transform . 17 3.2 Discrete Fourier Transform (and FFT) . 19 4 Executive Summary 20 1 1. Fourier Series 1 Fourier Series 1.1 General Introduction Consider a function f(τ) that is periodic with period T . f(τ + T ) = f(τ) (1) We may always rescale τ to make the function 2π periodic. To do so, define 2π a new independent variable t = T τ, so that f(t + 2π) = f(t) (2) So let us consider the set of all sufficiently nice functions f(t) of a real variable t that are periodic, with period 2π. Since the function is periodic we only need to consider its behavior on one interval of length 2π, e.g. on the interval (−π; π). The idea is to decompose any such function f(t) into an infinite sum, or series, of simpler functions. Following Joseph Fourier (1768-1830) consider the infinite sum of sine and cosine functions 1 a0 X f(t) = + [a cos(nt) + b sin(nt)] (3) 2 n n n=1 where the constant coefficients an and bn are called the Fourier coefficients of f. The first question one would like to answer is how to find those coefficients.
    [Show full text]
  • The Discrete Fourier Transform
    Chapter 5 The Discrete Fourier Transform Contents Overview . 5.3 Definition(s) . 5.4 Frequency domain sampling: Properties and applications . 5.9 Time-limited signals . 5.12 The discrete Fourier transform (DFT) . 5.12 The DFT, IDFT - computational perspective . 5.14 Properties of the DFT, IDFT . 5.15 Multiplication of two DFTs and circular convolution . 5.19 Related DFT properties . 5.23 Linear filtering methods based on the DFT . 5.24 Filtering of long data sequences . 5.25 Frequency analysis of signals using the DFT . 5.27 Interpolation / upsampling revisited . 5.29 Summary . 5.31 DFT-based “real-time” filtering . 5.31 5.1 5.2 c J. Fessler, May 27, 2004, 13:14 (student version) x[n] = xa(nTs) Sum of shifted replicates Sampling xa(t) x[n] xps[n] Bandlimited: Time-limited: Sinc interpolation Rectangular window FT DTFT DFT DTFS Sum shifted scaled replicates X[k] = (!) != 2π k X j N Sampling X (F ) (!) X[k] a X Bandlimited: Time-limited: PSfrag replacements Rectangular window Dirichlet interpolation The FT Family Relationships FT Unit Circle • X (F ) = 1 x (t) e−|2πF t dt • a −∞ a x (t) = 1 X (F ) e|2πF t dF • a −∞R a DTFT • R 1 −|!n (!) = n=−∞ x[n] e = X(z) z=ej! • X π j Z x[n] = 1 (!) e|!n d! • 2πP −π X Sample Unit Circle Uniform Time-Domain Sampling X(z) • x[n] = x (RnT ) • a s (!) = 1 1 X !=(2π)−k (sum of shifted scaled replicates of X ( )) • X Ts k=−∞ a Ts a · Recovering xa(t) from x[n] for bandlimited xa(t), where Xa(F ) = 0 for F Fs=2 • P j j ≥ X (F ) = T rect F (2πF T ) (rectangular window to pick out center replicate) • a s Fs X s x (t) = 1 x[n] sinc t−nTs ; where sinc(x) = sin(πx) =(πx).
    [Show full text]
  • A Brief Study of Discrete and Fast Fourier Transforms
    A BRIEF STUDY OF DISCRETE AND FAST FOURIER TRANSFORMS AASHIRWAD VISWANATHAN ANAND Abstract. This paper studies the mathematical machinery underlying the Discrete and Fast Fourier Transforms, algorithmic processes widely used in quantum mechanics, signal analysis, options pricing, and other diverse fields. Beginning with the basic properties of Fourier Transform, we proceed to study the derivation of the Discrete Fourier Transform, as well as computational considerations that necessitate the development of a faster way to calculate the DFT. With these considerations in mind, we study the construction of the Fast Fourier Transform, as proposed by Cooley and Tukey [7]. Contents 1. History and Introduction 1 2. Overview of the Continuous Fourier Transform and Convolutions 2 3. The Discrete Fourier Transform (DFT) 4 4. Computational Considerations 7 5. The radix-2 Cooley-Tukey FFT Algorithm 8 References 10 6. Appendix 1 11 1. History and Introduction The subject of Fourier Analysis is concerned primarily with the representation of functions as sums of trigonometric functions, or, more generally, series of simpler periodic functions. Harmonic series representations date back to Old Babylonian mathematics (2000-1600 BC), where it was used to compute tables of astronom- ical positions, as discovered by Otto Neugebauer [8]. While, trigonometric series were first used by 18th Century mathematicians like d'Alembert, Euler, Bernoulli and Gauss, their applications were known only for periodic functions of known period. In 1807, Fourier was the first to propose that arbitrary functions could be represented by trigonometric series, in the article Memoire sur la propagation de le chaleur dans les corps solides. Gauss is credited with the first Fast Fourier Transform (FFT) implementation in 1805, during an interpolation of orbital mea- surements.
    [Show full text]
  • Fourier Analysis
    I V N E R U S E I T H Y T O H F G E R D I N B U School of Physics and Astronomy Fourier Analysis Prof. John A. Peacock [email protected] Session: 2014/15 1 1 Introduction Describing continuous signals as a superposition of waves is one of the most useful concepts in physics, and features in many branches { acoustics, optics, quantum mechanics for example. The most common and useful technique is the Fourier technique, which were invented by Joseph Fourier in the early 19th century. In many cases of relevance in physics, the equations involved are linear: this means that different waves satisfying the equation can be added to generate a new solution, in which the waves evolve independently. This allows solutions to be found for many ordinary differential equations (ODEs) and partial differential equations (PDEs). We will also explore some other techniques for solving common equations in physics, such as Green's functions, and separation of variables, and investigate some aspects of digital sampling of signals. As a reminder of notation, a single wave mode might have the form (x) = a cos(kx + φ): (1.1) Here, a is the wave amplitude; φ is the phase; and k is the wavenumber, where the wavelength is λ = 2π=k. Equally, we might have a function that varies in time: then we would deal with cos !t, where ! is angular frequency and the period is T = 2π=!. In what follows, we will tend to assume that the waves are functions of x, but this is an arbitrary choice: the mathematics will apply equally well to functions of time.
    [Show full text]
  • Discrete Fourier Series & Discrete Fourier Transform
    Discrete Fourier Series & Discrete Fourier Transform Chapter Intended Learning Outcomes (i) Understanding the relationships between the transform, discrete-time Fourier transform (DTFT), discrete Fourier series (DFS), discrete Fourier transform (DFT) and fast Fourier transform (FFT) (ii) Understanding the characteristics and properties of DFS and DFT (iii) Ability to perform discrete-time signal conversion between the time and frequency domains using DFS and DFT and their inverse transforms H. C. So Page 1 Semester B 2011-2012 Discrete Fourier Series DTFT may not be practical for analyzing because is a function of the continuous frequency variable and we cannot use a digital computer to calculate a continuum of functional values DFS is a frequency analysis tool for periodic infinite-duration discrete-time signals which is practical because it is discrete in frequency The DFS is derived from the Fourier series as follows. Let be a periodic sequence with fundamental period where is a positive integer. Analogous to (2.2), we have: (7.1) for any integer value of . H. C. So Page 2 Semester B 2011-2012 Let be the continuous-time counterpart of . According to Fourier series expansion, is: (7.2) which has frequency components at . Substituting , and : (7.3) Note that (7.3) is valid for discrete-time signals as only the sample points of are considered. It is seen that has frequency components at and the respective complex exponentials are . H. C. So Page 3 Semester B 2011-2012 Nevertheless, there are only distinct frequencies in due to the periodicity of . Without loss of generality, we select the following distinct complex exponentials, , and thus the infinite summation in (7.3) is reduced to: (7.4) Defining , , as the DFS coefficients, the inverse DFS formula is given as: (7.5) H.
    [Show full text]
  • Fourier Analysis
    I V N E R U S E I T H Y T O H F G E R D I N B U School of Physics and Astronomy Fourier Analysis Prof. John A. Peacock [email protected] Session: 2013/14 1 1 Introduction Describing continuous signals as a superposition of waves is one of the most useful concepts in physics, and features in many branches - acoustics, optics, quantum mechanics for example. The most common and useful technique is the Fourier technique, which were invented by Joseph Fourier in the early 19th century. In many cases of relevance in physics, the waves evolve independently, and this allows solutions to be found for many ordinary differential equations (ODEs) and partial differential equations (PDEs). We will also explore some other techniques for solving common equations in physics, such as Green's functions, and separation of variables, and investigate some aspects of digital sampling of signals. As a reminder of notation, a single wave mode might have the form (x) = a cos(kx + φ): (1.1) Here, a is the wave amplitude; φ is the phase; and k is the wavenumber, where the wavelength is λ = 2π=k. Equally, we might have a function that varies in time: then we would deal with cos !t, where ! is angular frequency and the period is T = 2π=!. In what follows, we will tend to assume that the waves are functions of x, but this is an arbitrary choice: the mathematics will apply equally well to functions of time. 2 Fourier Series Learning outcomes In this section we will learn how Fourier series (real and complex) can be used to represent functions and sum series.
    [Show full text]
  • Fast Fourier Transform and MATLAB Implementation
    Fast Fourier Transform and MATLAB Implementation by Wanjun Huang for Dr. Duncan L. MacFarlane 1 Signals In the fields of communications, signal processing, and in electrical engineering more generally, a signal is any time‐varying or spatial‐varying quantity This variable(quantity) changes in time • Speech or audio signal: A sound amplitude that varies in time • Temperature readings at different hours of a day • Stock price changes over days • Etc. Signals can be classified by continues‐time signal and discrete‐time signal: • A discrete signal or discrete‐time signal is a time series, perhaps a signal that has been sampldled from a continuous‐time silignal • A digital signal is a discrete‐time signal that takes on only a discrete set of values Continuous Time Signal Discrete Time Signal 1 1 0.5 0.5 0 0 f(t) f[n] -0.5 -0.5 -1 -1 0 10 20 30 40 0 10 20 30 40 Time (sec) n 2 Periodic Signal periodic signal and non‐periodic signal: Periodic Signal Non-Periodic Signal 1 1 0 f(t) 0 f[n] -1 -1 0 10 20 30 40 0 10 20 30 40 Time (sec) n • Period T: The minimum interval on which a signal repeats • Fundamental frequency: f0=1/T • Harmonic frequencies: kf0 • Any periodic signal can be approximated by a sum of many sinusoids at harmonic frequencies of the sig(gnal(kf0) with appropriate amplitude and phase • Instead of using sinusoid signals, mathematically, we can use the complex exponential functions with both positive and negative harmonic frequencies Euler formula: exp( j t ) sin( t ) j cos( t ) 3 Time‐Frequency Analysis • A signal has one or more
    [Show full text]