SGN-1158 Introduction to Signal Processing Test. Solutions

Similar documents
How To Understand The Nyquist Sampling Theorem

Frequency Response of FIR Filters

(Refer Slide Time: 01:11-01:27)

PYKC Jan Lecture 1 Slide 1

The Z transform (3) 1

Analysis/resynthesis with the short time Fourier transform

Convolution, Correlation, & Fourier Transforms. James R. Graham 10/25/2005

The continuous and discrete Fourier transforms

Lab 1. The Fourier Transform

Time series analysis Matlab tutorial. Joachim Gross

Sampling and Interpolation. Yao Wang Polytechnic University, Brooklyn, NY11201

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2010 Linear Systems Fundamentals

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

1.4 Fast Fourier Transform (FFT) Algorithm

Discrete-Time Signals and Systems

L9: Cepstral analysis

EE 179 April 21, 2014 Digital and Analog Communication Systems Handout #16 Homework #2 Solutions

Wavelet analysis. Wavelet requirements. Example signals. Stationary signal 2 Hz + 10 Hz + 20Hz. Zero mean, oscillatory (wave) Fast decay (let)

SIGNAL PROCESSING & SIMULATION NEWSLETTER

Time Series Analysis: Introduction to Signal Processing Concepts. Liam Kilmartin Discipline of Electrical & Electronic Engineering, NUI, Galway

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2009 Linear Systems Fundamentals

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

Lecture 14. Point Spread Function (PSF)

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

10 Discrete-Time Fourier Series

FFT Algorithms. Chapter 6. Contents 6.1

Lecture 8 ELE 301: Signals and Systems

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

Analog Representations of Sound

How To Understand The Discrete Fourier Transform

Auto-Tuning Using Fourier Coefficients

Matlab GUI for WFB spectral analysis

San José State University Department of Electrical Engineering EE 112, Linear Systems, Spring 2010

Review of Fourier series formulas. Representation of nonperiodic functions. ECE 3640 Lecture 5 Fourier Transforms and their properties

PRACTICAL GUIDE TO DATA SMOOTHING AND FILTERING

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

9 Fourier Transform Properties

Aliasing, Image Sampling and Reconstruction

Digital Transmission of Analog Data: PCM and Delta Modulation

The Fourier Analysis Tool in Microsoft Excel

NRZ Bandwidth - HF Cutoff vs. SNR

FAST Fourier Transform (FFT) and Digital Filtering Using LabVIEW

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Public Switched Telephone System

1995 Mixed-Signal Products SLAA013

SECTION 6 DIGITAL FILTERS

DIGITAL SIGNAL PROCESSING - APPLICATIONS IN MEDICINE

1. (Ungraded) A noiseless 2-kHz channel is sampled every 5 ms. What is the maximum data rate?

3 Signals and Systems: Part II

SCHWEITZER ENGINEERING LABORATORIES, COMERCIAL LTDA.

CONVOLUTION Digital Signal Processing

1.1 Discrete-Time Fourier Transform

The Calculation of G rms

MICHIGAN STATE UNIVERSITY DEPARTMENT OF ELECTRICAL & COMPUTER ENGINEERING. ECE 466: Digital Signal Processing

Short-time FFT, Multi-taper analysis & Filtering in SPM12

Spectral Analysis Using a Deep-Memory Oscilloscope Fast Fourier Transform (FFT)

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

Frequency Domain and Fourier Transforms

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Design of FIR Filters

Class Note for Signals and Systems. Stanley Chan University of California, San Diego

USB 3.0 CDR Model White Paper Revision 0.5

3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials

Understanding CIC Compensation Filters

CHAPTER 6 Frequency Response, Bode Plots, and Resonance

ELECTRICAL ENGINEERING

Experimental validation of loudspeaker equalization inside car cockpits

Dynamic Process Modeling. Process Dynamics and Control

The Algorithms of Speech Recognition, Programming and Simulating in MATLAB

Lecture 3: Signaling and Clock Recovery. CSE 123: Computer Networks Stefan Savage

Real time spectrum analyzer light

4ECE 320 Signals and Systems II Department of Electrical and Computer Engineering George Mason University Fall, 2015

Univariate and Multivariate Methods PEARSON. Addison Wesley

The Membrane Equation

5 Signal Design for Bandlimited Channels

TTT4120 Digital Signal Processing Suggested Solution to Exam Fall 2008

Lecture 2 Linear functions and examples

Bits Superposition Quantum Parallelism

Improving A D Converter Performance Using Dither

COURSE DESCRIPTOR Signal Processing II Signalbehandling II 7.5 ECTS credit points (7,5 högskolepoäng)

Em bedded DSP : I ntroduction to Digital Filters

Lecture 1-6: Noise and Filters

CAMI Education linked to CAPS: Mathematics

Digital Transmission (Line Coding)

Implementation of the LMS Algorithm for Noise Cancellation on Speech Using the ARM LPC2378 Processor.

Manufacturing Equipment Modeling

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

WORK SCHEDULE: MATHEMATICS 2007

Basics of Digital Recording

Probability and Random Variables. Generation of random variables (r.v.)

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY


Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Applications of the DFT

Sampling Theory For Digital Audio By Dan Lavry, Lavry Engineering, Inc.

Transcription:

SGN-1158 Introduction to Signal Processing Test. Solutions 1. Convolve the function ( ) with itself and show that the Fourier transform of the result is the square of the Fourier transform of ( ). (Hints: sketch the rectangular function, inspect various scenarios for different t: (1. t<0; 2. 0<t<1; 3. 1<t<2; 4. t>2), for each of the case perform convolution operation with properly defined limits of integration: () = =, Sketch the output function, find the Fourier transform using the Fourier transform pairs (Hint: ()), then check what is the Fourier transform of the rectangular function. Are they the same?) Solution: 0, if > The rectangular function can be defined as followsrect() (t)=, if =, therefore in 1, if < order to obtain convolution (or to properly define the integral limits) we need to inspect various possible intersections of the shifted rectangular function ( ) and for different t. 1. t<0, z(t)=0 (no intersection, see figure below) ( t 1 2 ) ( 1 2 ) 2. 0<t<1, () = (1x1) = [] 0 =.

3. 1<t<2, () = (1x1) = [] 1 1 =2 4. For t>2, z(t)=0 (no intersection) Therefore, the output of the convolution is the triangular function ( 1), which is shown in Figure below. (Note that () =, <1 0, otherwise ) z ( t )

In order to obtain the Fourier transform of the found triangular function, we utilize the time delay theorem: ( ) () and the tables of Fourier transform pairs ( ()) to obtain: ( 1) (). Moreover, the square of the Fourier transform of the rectangular function is FT{( )} =[() ] = (), whichisthesame. 2. Demonstrate the linearity or otherwise of the systems represented by the diagrams below: (a) Addition of a function (b) Multiplication by a function d dt t () dt (c) Differentiation (d) Integration (e) Time delay (T seconds)

Solution: (a) For the input () output is () = () + (), for the input () output is () = () + (), then for input () + () output is ()+ ()+( ()+ (), i. e. superposition does not hold and system (a) is not linear. (Usually addition is a linear operation, however here () is considered to be the part of the system, not an input). (b) For input () = () + () the output () = ()[ () + ()] = () () + () = () + (), therefore the system is linear. (Usually multiplication is a nonlinear operation, however here () is considered to be the part of the system, not an input, therefore superposition holds). (c) For input () = () + () output is () = [ () + ()] = () + = () + (), i. e. the system (c) is linear. (d) For input () = () + () output is () = [ ()+ ()] = () + () = () + (), i. e. the system (d) is linear. (e) For input () = () + () output is () = ( )+ ( ) = () + (), i. e. the system (e) is linear. Here we checked only superposition condition, which basically is enough to demonstrate the behavior of the given systems, however keep in mind that there is another condition to check (the scaling). 3. For the given LTI systems determine the impulse response h[n]: (a) Discrete-time accumulator (b) Linear interpolator [] = [] + ([ ] + [ + ]) (c) [] +. [ ]. [ ] +. [ ] =. []. [ ] +. [ ] (Determine 6 first samples). Solution: (a) The impulse response of the discrete-time accumulator is obtained by making the substitution: [] = [], which results in [] = unit step sequence. [], which corresponds to the

(b) On making the substitution [] = [],we obtain [] = [] + ([ 1]+ [+1]), thus, the impulse response sequence is [] = {0.5,1,0.5}, when 1. (c) Assuming that h[k]=0, if k<0, then h[0]=0.7, h[1]=-0.3h[0]=-0.3*0.7=-0.21, h[2]=-0.3*h[1]+0.45*0.7-0.5=-0.1220 and so on. The output is h={0.7; -0.21; -0.1220; - 0.3779; 0.1845;-0.1522}. Try it in Matlab. 4. Calculate the DFT of the periodic signal The length of the signal x[n]=[-1 2 ½ 3] is 4, therefore the DFT matrix will be of the following way (check the lecture slides (L4(61-62))): 1 1 1 1 1 =, 1 1 1 1 Next thing is to perform multiplication =, therefore 1 1 1 1 1 1 1 1 1 1 2 1/2 3 4.5 = 1.5+ 5.5 1.5 5. Calculate the cross-correlation (with different lags) of the one-period signal from the task 4 and y = [0, 1,-5, 2, 3]. [0, 1, -5, 2, 3], [-1 2 ½ 3] Lags [0 0 0 0] -4 0 [3 0 0 0] -3 0 [1/2 3 0 0] -2 0*1/2+1*3=3 [2 1/2 3 0] -1 0*2+1*1/2+(-5)*3=-14.5 [-1 2 1/2 3] 0-1*0+2*1+1/2*(-5)+3*2=5.5 [0-1 2 ½ 3] 1 1*(-1)+2*(-5)+2*1/2+3*3=-1 [0 0-1 2 1/2] 2 (-5)*(-1)+2*2+1/2*3=10.5 [0 0 0-1 2] 3 (-1)*2+2*3=4 [0 0 0 0-1] 4 (-1)*3=-3 Answer: z={-3,4,10.5,-1,5.5,-14.5,3,0,0}

6. Write an analogue signal representation with amplitude of ½ and the frequency of 50Hz. Now define the discrete version of the signal with the sampling frequency, which enables perfect reconstruction of the signal. Sketch the obtained digital signal. Reveal the topic of aliasing in 5-7 sentences (definition, Nyquist Shannon sampling theorem, how to avoid aliasing) Solution: The general equation is () = (2 + ), then the given signal in analog representation is () = (250). Now, in order to avoid aliasing we use the Nyquist- Shannon sampling theorem: The Nyquist-Shannon Sampling Theorem says that a signal can be reconstructed when the sampling rate is more than twice the maximum frequency of the signal being sampled. This rule tells us that to reproduce sounds as high as human hearing 20,000 hertz we must take at least 40,001 samples per second. Therefore to get the digital signal we substitute =, = 1/, where Fs is the sampling frequency, and should be more than 100 Hz. So in case, = ; () = shown below. 250 =, which is