SlideShare a Scribd company logo
Helwan University
Faculty of Engineering
Department of Electronics, Communications & Computer
ELC 9421 Digital Signal Processing - Spring 2017
Sheet Eight
‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ ‫ب‬ ‫ة‬ ‫س‬ ‫د‬ ‫ن‬ ‫ه‬ ‫ل‬ ‫ا‬ ‫ة‬ ‫ي‬ ‫ل‬ ‫ك‬–‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ ‫ة‬ ‫ع‬ ‫م‬ ‫ا‬ ‫ج‬ Page 1 of 1
1) Compute the DFT of the following sequences:
a. 𝑥( 𝑛)  [1, 0, 1, 0]
b. 𝑥( 𝑛)  [𝑗, 0, 𝑗, 1]
c. 𝑥( 𝑛)  [1, 1, 1, 1, 1, 1, 1, 1]
d. 𝑥( 𝑛) = {0.5, 0.5, 0.5 ,0.5, 0, 0, 0, 0}
e. 𝑥[𝑛] = {1, 2, 2, 2, 1, 0, 0, 0}
f. 𝑥( 𝑛)  cos(0.25 𝜋 𝑛) 𝑎𝑛𝑑 𝑛  0, . . . , 7
g. 𝑥(𝑛)  0.9𝑛, 𝑛  0, . . . , 7
Then Plot the phase and magnitude of 𝑋(𝑘).
-------------------------------------------------------------------------------------------------------
2) Compute the FFT of the following sequences:
a. 𝑥( 𝑛)  [1, 0, 1, 0]
b. 𝑥( 𝑛)  [𝑗, 0, 𝑗, 1]
c. 𝑥( 𝑛)  [1, 1, 1, 1, 1, 1, 1, 1]
d. 𝑥( 𝑛) = {0.5, 0.5, 0.5 ,0.5, 0, 0, 0, 0}
e. 𝑥[𝑛] = {1, 2, 2, 2, 1, 0, 0, 0}
Then Plot the phase and magnitude of 𝑋(𝑘).
-------------------------------------------------------------------------------------------------------
3) Using the 8-point Decimation In Time FFT algorithm, find the DFT of:
a. 𝑥( 𝑛)  [1, 0, 1, 0]
b. 𝑥( 𝑛)  [𝑗, 0, 𝑗, 1]
c. 𝑥( 𝑛)  [1, 1, 1, 1, 1, 1, 1, 1]
d. 𝑥( 𝑛) = {0.5, 0.5, 0.5 ,0.5, 0, 0, 0, 0}
e. 𝑥[𝑛] = {1, 2, 2, 2, 1, 0, 0, 0}
Then Plot the phase and magnitude of 𝑋(𝑘).
-------------------------------------------------------------------------------------------------------
‫ة‬ ‫ي‬ ‫ل‬ ‫ك‬‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ ‫ب‬ ‫ة‬ ‫س‬ ‫د‬ ‫ن‬ ‫ه‬ ‫ل‬ ‫ا‬–‫ا‬ ‫ج‬‫م‬‫ة‬ ‫ع‬‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ Page 2 of 2
4) An audio waveform x(t) is sampled at a rate of fs = 8000Hz for T = 0.5sec
resulting in a set of N samples.
a. Find number of samples N.
b. Find the frequency resolution.
c. Find the required number of operations that is needed to calculate the
DFT.
d. Find the required number of operations that is needed to calculate the FFT.
e. Find the saving in using FFT over DFT
f. What are the frequencies, associated with the following values of 𝑘 = 0, 1, 2.
-------------------------------------------------------------------------------------------------------
5) Determine the circular convolution between 𝑥(𝑛) and ℎ(𝑛), if
𝑥[𝑛] = {2, 5, −1, 4, 3, 0, 0, 0}
and
ℎ[𝑛] = {1, 3, 4, 1}
-------------------------------------------------------------------------------------------------------
6) Given 𝒙[𝒏] = 𝜹[𝒏] + 𝟐𝜹[𝒏 − 𝟏] + 𝜹[𝒏 − 𝟐] and 𝒉[𝒏] = 𝟑𝜹[𝒏 − 𝟐] − 𝟐𝜹[𝒏 − 𝟑].
a. Compute 𝑦[𝑛] = 𝑥[𝑛] ∗ ℎ[𝑛].
b. Compute the 4-point DFT 𝑋[𝑘] of 𝑥[𝑛].
c. Compute the 4-point DFT 𝐻[𝑘] of ℎ[𝑛].
d. Compute the circular convolution 𝑦𝑐[𝑛] between 𝑥[𝑛] and ℎ[𝑛], by two
different methods.
e. How many padding zeros are needed for x[n] and h[n] in order to find
their regular convolution y[n], using the DFT?
-------------------------------------------------------------------------------------------------------
Best Wishes,
Prof. Elsayed. M. Saad
Dr. Amr E. Mohamed

More Related Content

PDF
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
PDF
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
PDF
DSP_FOEHU - Lec 03 - Sampling of Continuous Time Signals
PDF
DSP_FOEHU - Lec 09 - Fast Fourier Transform
PDF
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
PDF
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
PDF
DSP_FOEHU - Lec 07 - Digital Filters
PDF
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_FOEHU - Lec 03 - Sampling of Continuous Time Signals
DSP_FOEHU - Lec 09 - Fast Fourier Transform
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
DSP_FOEHU - Lec 07 - Digital Filters
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems

What's hot (20)

PDF
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
PPTX
D ecimation and interpolation
PDF
Decimation and Interpolation
PPTX
The discrete fourier transform (dsp) 4
PPTX
Impulse Response ppt
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L06
PPTX
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
PPTX
Dft,fft,windowing
PDF
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
PPT
Lecture9
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L05
PDF
Dsp U Lec10 DFT And FFT
PDF
Dcs lec02 - z-transform
PDF
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
PDF
Ff tand matlab-wanjun huang
PPTX
Digital Signal Processing Assignment Help
PDF
Digital Signal Processing[ECEG-3171]-Ch1_L04
PPTX
FFT and DFT algorithm
PDF
Fast Fourier Transform
PPTX
Fourier series and applications of fourier transform
DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems
D ecimation and interpolation
Decimation and Interpolation
The discrete fourier transform (dsp) 4
Impulse Response ppt
Digital Signal Processing[ECEG-3171]-Ch1_L06
SAMPLING & RECONSTRUCTION OF DISCRETE TIME SIGNAL
Dft,fft,windowing
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
Lecture9
Digital Signal Processing[ECEG-3171]-Ch1_L05
Dsp U Lec10 DFT And FFT
Dcs lec02 - z-transform
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
Ff tand matlab-wanjun huang
Digital Signal Processing Assignment Help
Digital Signal Processing[ECEG-3171]-Ch1_L04
FFT and DFT algorithm
Fast Fourier Transform
Fourier series and applications of fourier transform
Ad

Similar to DSP 08 _ Sheet Eight (20)

PDF
Digital Signal Processing Lecture notes n.pdf
PDF
Assg 2 dsp
PPTX
Module 2..pptx. Energy Storage requireme
PPT
Fourier-Series_FT_Laplace-Transform_Letures_Regular_F-for-Students_13.ppt
PPT
Fourier-Series_FT_Laplace-Transform_Letures_Regular_F-for-Students_14.ppt
PDF
2013-June: 5th Semester E & C Question Papers
PDF
5th Semester Electronic and Communication Engineering (2013-June) Question Pa...
PPT
Fast Fourier Transform (FFT) Algorithms in DSP
PDF
c5.pdf
PDF
c5.pdf
PDF
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
PPT
Digital signal processor part 3
PDF
EC8553 Discrete time signal processing
PDF
DFT - Discrete Fourier Transform and its Properties
PDF
UIT1504-DSP-II-U9_LMS.pdf
PDF
lec07_DFT.pdf
PPTX
FTTs_App_2019_02333_01!09_42458_32_PM.pptx
PPT
lecture_16.ppt
PPTX
Lecture 04 Adaptive filter.pptx
Digital Signal Processing Lecture notes n.pdf
Assg 2 dsp
Module 2..pptx. Energy Storage requireme
Fourier-Series_FT_Laplace-Transform_Letures_Regular_F-for-Students_13.ppt
Fourier-Series_FT_Laplace-Transform_Letures_Regular_F-for-Students_14.ppt
2013-June: 5th Semester E & C Question Papers
5th Semester Electronic and Communication Engineering (2013-June) Question Pa...
Fast Fourier Transform (FFT) Algorithms in DSP
c5.pdf
c5.pdf
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
Digital signal processor part 3
EC8553 Discrete time signal processing
DFT - Discrete Fourier Transform and its Properties
UIT1504-DSP-II-U9_LMS.pdf
lec07_DFT.pdf
FTTs_App_2019_02333_01!09_42458_32_PM.pptx
lecture_16.ppt
Lecture 04 Adaptive filter.pptx
Ad

More from Amr E. Mohamed (20)

PDF
Dcs lec03 - z-analysis of discrete time control systems
PDF
Dcs lec01 - introduction to discrete-time control systems
PDF
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
PDF
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
PDF
SE2018_Lec 17_ Coding
PDF
SE2018_Lec-22_-Continuous-Integration-Tools
PDF
SE2018_Lec 21_ Software Configuration Management (SCM)
PDF
SE2018_Lec 18_ Design Principles and Design Patterns
PDF
Selenium - Introduction
PPTX
SE2018_Lec 20_ Test-Driven Development (TDD)
PDF
SE2018_Lec 19_ Software Testing
PDF
DSP_2018_FOEHU - Lec 05 - Digital Filters
PDF
DSP_2018_FOEHU - Lec 04 - The z-Transform
PDF
SE2018_Lec 15_ Software Design
PDF
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
PDF
DSP_2018_FOEHU - Lec 0 - Course Outlines
PDF
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
PDF
SE18_Lec 13_ Project Planning
PDF
SE18_SE_Lec 12_ Project Management 1
PDF
SE18_Lec 10_ UML Behaviour and Interaction Diagrams
Dcs lec03 - z-analysis of discrete time control systems
Dcs lec01 - introduction to discrete-time control systems
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
SE2018_Lec 17_ Coding
SE2018_Lec-22_-Continuous-Integration-Tools
SE2018_Lec 21_ Software Configuration Management (SCM)
SE2018_Lec 18_ Design Principles and Design Patterns
Selenium - Introduction
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 19_ Software Testing
DSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 04 - The z-Transform
SE2018_Lec 15_ Software Design
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 0 - Course Outlines
SE2018_Lec 14_ Process Modeling and Data Flow Diagram.pptx
SE18_Lec 13_ Project Planning
SE18_SE_Lec 12_ Project Management 1
SE18_Lec 10_ UML Behaviour and Interaction Diagrams

Recently uploaded (20)

PPTX
Geodesy 1.pptx...............................................
PDF
composite construction of structures.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Sustainable Sites - Green Building Construction
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
web development for engineering and engineering
PPTX
Lecture Notes Electrical Wiring System Components
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
PPT on Performance Review to get promotions
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Current and future trends in Computer Vision.pptx
PPT
Project quality management in manufacturing
PPT
Mechanical Engineering MATERIALS Selection
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
Geodesy 1.pptx...............................................
composite construction of structures.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Sustainable Sites - Green Building Construction
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
573137875-Attendance-Management-System-original
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
web development for engineering and engineering
Lecture Notes Electrical Wiring System Components
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
additive manufacturing of ss316l using mig welding
Internet of Things (IOT) - A guide to understanding
PPT on Performance Review to get promotions
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Current and future trends in Computer Vision.pptx
Project quality management in manufacturing
Mechanical Engineering MATERIALS Selection
R24 SURVEYING LAB MANUAL for civil enggi
CYBER-CRIMES AND SECURITY A guide to understanding

DSP 08 _ Sheet Eight

  • 1. Helwan University Faculty of Engineering Department of Electronics, Communications & Computer ELC 9421 Digital Signal Processing - Spring 2017 Sheet Eight ‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ ‫ب‬ ‫ة‬ ‫س‬ ‫د‬ ‫ن‬ ‫ه‬ ‫ل‬ ‫ا‬ ‫ة‬ ‫ي‬ ‫ل‬ ‫ك‬–‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ ‫ة‬ ‫ع‬ ‫م‬ ‫ا‬ ‫ج‬ Page 1 of 1 1) Compute the DFT of the following sequences: a. 𝑥( 𝑛)  [1, 0, 1, 0] b. 𝑥( 𝑛)  [𝑗, 0, 𝑗, 1] c. 𝑥( 𝑛)  [1, 1, 1, 1, 1, 1, 1, 1] d. 𝑥( 𝑛) = {0.5, 0.5, 0.5 ,0.5, 0, 0, 0, 0} e. 𝑥[𝑛] = {1, 2, 2, 2, 1, 0, 0, 0} f. 𝑥( 𝑛)  cos(0.25 𝜋 𝑛) 𝑎𝑛𝑑 𝑛  0, . . . , 7 g. 𝑥(𝑛)  0.9𝑛, 𝑛  0, . . . , 7 Then Plot the phase and magnitude of 𝑋(𝑘). ------------------------------------------------------------------------------------------------------- 2) Compute the FFT of the following sequences: a. 𝑥( 𝑛)  [1, 0, 1, 0] b. 𝑥( 𝑛)  [𝑗, 0, 𝑗, 1] c. 𝑥( 𝑛)  [1, 1, 1, 1, 1, 1, 1, 1] d. 𝑥( 𝑛) = {0.5, 0.5, 0.5 ,0.5, 0, 0, 0, 0} e. 𝑥[𝑛] = {1, 2, 2, 2, 1, 0, 0, 0} Then Plot the phase and magnitude of 𝑋(𝑘). ------------------------------------------------------------------------------------------------------- 3) Using the 8-point Decimation In Time FFT algorithm, find the DFT of: a. 𝑥( 𝑛)  [1, 0, 1, 0] b. 𝑥( 𝑛)  [𝑗, 0, 𝑗, 1] c. 𝑥( 𝑛)  [1, 1, 1, 1, 1, 1, 1, 1] d. 𝑥( 𝑛) = {0.5, 0.5, 0.5 ,0.5, 0, 0, 0, 0} e. 𝑥[𝑛] = {1, 2, 2, 2, 1, 0, 0, 0} Then Plot the phase and magnitude of 𝑋(𝑘). -------------------------------------------------------------------------------------------------------
  • 2. ‫ة‬ ‫ي‬ ‫ل‬ ‫ك‬‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ ‫ب‬ ‫ة‬ ‫س‬ ‫د‬ ‫ن‬ ‫ه‬ ‫ل‬ ‫ا‬–‫ا‬ ‫ج‬‫م‬‫ة‬ ‫ع‬‫ن‬ ‫ا‬ ‫و‬ ‫ل‬ ‫ح‬ Page 2 of 2 4) An audio waveform x(t) is sampled at a rate of fs = 8000Hz for T = 0.5sec resulting in a set of N samples. a. Find number of samples N. b. Find the frequency resolution. c. Find the required number of operations that is needed to calculate the DFT. d. Find the required number of operations that is needed to calculate the FFT. e. Find the saving in using FFT over DFT f. What are the frequencies, associated with the following values of 𝑘 = 0, 1, 2. ------------------------------------------------------------------------------------------------------- 5) Determine the circular convolution between 𝑥(𝑛) and ℎ(𝑛), if 𝑥[𝑛] = {2, 5, −1, 4, 3, 0, 0, 0} and ℎ[𝑛] = {1, 3, 4, 1} ------------------------------------------------------------------------------------------------------- 6) Given 𝒙[𝒏] = 𝜹[𝒏] + 𝟐𝜹[𝒏 − 𝟏] + 𝜹[𝒏 − 𝟐] and 𝒉[𝒏] = 𝟑𝜹[𝒏 − 𝟐] − 𝟐𝜹[𝒏 − 𝟑]. a. Compute 𝑦[𝑛] = 𝑥[𝑛] ∗ ℎ[𝑛]. b. Compute the 4-point DFT 𝑋[𝑘] of 𝑥[𝑛]. c. Compute the 4-point DFT 𝐻[𝑘] of ℎ[𝑛]. d. Compute the circular convolution 𝑦𝑐[𝑛] between 𝑥[𝑛] and ℎ[𝑛], by two different methods. e. How many padding zeros are needed for x[n] and h[n] in order to find their regular convolution y[n], using the DFT? ------------------------------------------------------------------------------------------------------- Best Wishes, Prof. Elsayed. M. Saad Dr. Amr E. Mohamed