SlideShare a Scribd company logo
American International University- Bangladesh (AIUB)
Faculty of Engineering (EEE)
Course Name : Digital Signal Processing Lab
Semester : Fall 2019-20 Sec :
Faculty : Tahia Fahrin Karim Marks: 20
Student Name: Student ID:
Final-Term
Marking Rubrics (to be filled by Faculty)
Category
Proficient
[5-4]
Good
[3]
Acceptable
[2]
Unacceptable
[1]
Secured
Marks
Algorithm/Logic
Algorithmof the
issue/problem to be
consideredcritically is stated
clearly anddescribed
comprehensively, delivering
relevant information
necessary for full
understanding.
Algorithmof the
issue/problem to be
consideredcritically is
stated, described, and
clarifiedso that
understandingis not
seriously impededby
omissions.
Algorithmof the
issue/problem to be
consideredcritically is
stated, but descriptionleaves
some terms undefined,
ambiguities unexplored,
boundaries undetermined,
Algorithmof the issue
/problem tobe
consideredcritically is stated
without clarification or
description.
Coding/ Syntax
Syntax of the programming
language is most efficient
andshortest.
Syntax of the programming
language is correct andno
error is found.
Syntax of the programming
language is 60% correct.
Syntax of the programming
language is erroneous.
Analysis
Detail analysis of the
problem solution is
presented. Correct
explanation is expectedwith
proper reference.
Justifiedanalysis is
presented.
Relevant analysis is
described.
Analysis is irrelevant to the
problem solution.
Organization of
the Report
The whole report is
exceptionallywell-organized
andvery easy to understand.
The report is thorough,
relevant andaccurate
informationtosome extent.
Informationlacks depth.
Accurate but inadequate or
repetitiveat times.
Vague, unclear.
Insufficient or irrelevant
information.
Comments:
Total Marks
(Out of 20 ):
Instructions:
Use the following code to record your voice and store it in MATLAB:
audio_signal=audiorecorder(8000,24,1); % sampling rate, sample precision in bits and no. of channels
disp('Start speaking.')
recordblocking(audio_signal,3) % Recording for 3 seconds
disp('End of recording')
play(audio_signal)
speech=getaudiodata(audio_signal); % Converting to a vector from an audio file
Assessment for:
P.05.3.P5 Create relevant resources for complex engineering problems using modern engineering tools.
DSP Lab
Page - 2
Problem 1: Use your own voice to record an audio and save the recorded sound as an audio file, load it into
MATLAB by following the instruction given above. Store the recording into the more usual vector of audio and
show a time-domain plot of your recorded sound sample.
Problem 2: Show the frequency domain response of the data by using the function freqz() in MATLAB by
choosing the range of ω from 0 to π.
Problem 3: Now add a white Gaussian noise to your recorded audio sample by using the function awgn(input
signal, SNR). Use two different values for SNR (in dB) which indicates the quality of the channel
characteristics, i.e. one good channel and one bad channel. Plot the noisy signal for two different values of SNR
and observe the outputs. Which output is better? Justify your answer.
Problem 4: Now design three different filters; LPF, HPF and BPF to pass this noisy signal and remove the
noise. Choose the cutoff range from the frequency response curve of your voice signal. Plot the frequency
response curve of all your filters and the filtered signals. Which filter output is better for your sound processing
system?
* There are many predefined window types for the filters in common use, and with different characteristics (that
are adequately explained in most signal processing textbooks). Use any one type of window for designing your
filter.
FIR Filters
1. Rectangular
2. Bartlett
3. Hann
4. Hamming
5. Blackman
6. Kaiser

More Related Content

PPT
Speaker Segmentation (2006)
PPT
Cpcs302 1
PPT
Compiler design computer science engineering.ppt
PDF
A GAUSSIAN MIXTURE MODEL BASED SPEECH RECOGNITION SYSTEM USING MATLAB
PDF
1588147798Begining_ABUAD1.pdf
PPTX
Presentation1
PPTX
Presentation1
PPT
01. introduction
Speaker Segmentation (2006)
Cpcs302 1
Compiler design computer science engineering.ppt
A GAUSSIAN MIXTURE MODEL BASED SPEECH RECOGNITION SYSTEM USING MATLAB
1588147798Begining_ABUAD1.pdf
Presentation1
Presentation1
01. introduction

Similar to Assignment_DSP.doc (20)

PDF
Algorithm pseudocode flowchart program notes
PPT
Automatic speech recognition
PPT
programming language(C++) chapter-one contd.ppt
PDF
Design and implementation of different audio restoration techniques for audio...
PPTX
COLEA : A MATLAB Tool for Speech Analysis
PDF
Low power fpga solution for dab audio decoder
DOC
Project 2 the second project involves/tutorialoutlet
PDF
unit1pdf__2021_12_14_12_37_34.pdf
PDF
Design and implementation of a java based virtual laboratory for data communi...
DOCX
Bca1020 programming in c
PDF
Communication systems-theory-for-undergraduate-students-using-matlab
PDF
IRJET-Virtual Music Guide for Beginners using MATLAB and DSP Kit
DOCX
ECET 380 Success Begins/Newtonhelp.com
PDF
DSP Based Speech Operated Home Appliances UsingZero Crossing Features
PDF
International journal of compiling
PDF
International journal of compiling
PDF
Analysis of Speech Enhancement Incorporating Speech Recognition
PDF
Nov 04 MS1
PPT
01. Introduction.ppt
PDF
Language processors
Algorithm pseudocode flowchart program notes
Automatic speech recognition
programming language(C++) chapter-one contd.ppt
Design and implementation of different audio restoration techniques for audio...
COLEA : A MATLAB Tool for Speech Analysis
Low power fpga solution for dab audio decoder
Project 2 the second project involves/tutorialoutlet
unit1pdf__2021_12_14_12_37_34.pdf
Design and implementation of a java based virtual laboratory for data communi...
Bca1020 programming in c
Communication systems-theory-for-undergraduate-students-using-matlab
IRJET-Virtual Music Guide for Beginners using MATLAB and DSP Kit
ECET 380 Success Begins/Newtonhelp.com
DSP Based Speech Operated Home Appliances UsingZero Crossing Features
International journal of compiling
International journal of compiling
Analysis of Speech Enhancement Incorporating Speech Recognition
Nov 04 MS1
01. Introduction.ppt
Language processors
Ad

Recently uploaded (20)

PPTX
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
PPTX
Derivatives of integument scales, beaks, horns,.pptx
PPTX
2Systematics of Living Organisms t-.pptx
PPTX
2. Earth - The Living Planet Module 2ELS
PPTX
neck nodes and dissection types and lymph nodes levels
PPT
The World of Physical Science, • Labs: Safety Simulation, Measurement Practice
PDF
Formation of Supersonic Turbulence in the Primordial Star-forming Cloud
PPTX
famous lake in india and its disturibution and importance
PPTX
2. Earth - The Living Planet earth and life
PDF
Sciences of Europe No 170 (2025)
PPTX
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
PPTX
Classification Systems_TAXONOMY_SCIENCE8.pptx
PPTX
7. General Toxicologyfor clinical phrmacy.pptx
PPT
protein biochemistry.ppt for university classes
PPTX
TOTAL hIP ARTHROPLASTY Presentation.pptx
PPTX
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
PPTX
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
PPTX
The KM-GBF monitoring framework – status & key messages.pptx
PDF
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
PPTX
Taita Taveta Laboratory Technician Workshop Presentation.pptx
DRUG THERAPY FOR SHOCK gjjjgfhhhhh.pptx.
Derivatives of integument scales, beaks, horns,.pptx
2Systematics of Living Organisms t-.pptx
2. Earth - The Living Planet Module 2ELS
neck nodes and dissection types and lymph nodes levels
The World of Physical Science, • Labs: Safety Simulation, Measurement Practice
Formation of Supersonic Turbulence in the Primordial Star-forming Cloud
famous lake in india and its disturibution and importance
2. Earth - The Living Planet earth and life
Sciences of Europe No 170 (2025)
G5Q1W8 PPT SCIENCE.pptx 2025-2026 GRADE 5
Classification Systems_TAXONOMY_SCIENCE8.pptx
7. General Toxicologyfor clinical phrmacy.pptx
protein biochemistry.ppt for university classes
TOTAL hIP ARTHROPLASTY Presentation.pptx
ognitive-behavioral therapy, mindfulness-based approaches, coping skills trai...
Protein & Amino Acid Structures Levels of protein structure (primary, seconda...
The KM-GBF monitoring framework – status & key messages.pptx
SEHH2274 Organic Chemistry Notes 1 Structure and Bonding.pdf
Taita Taveta Laboratory Technician Workshop Presentation.pptx
Ad

Assignment_DSP.doc

  • 1. American International University- Bangladesh (AIUB) Faculty of Engineering (EEE) Course Name : Digital Signal Processing Lab Semester : Fall 2019-20 Sec : Faculty : Tahia Fahrin Karim Marks: 20 Student Name: Student ID: Final-Term Marking Rubrics (to be filled by Faculty) Category Proficient [5-4] Good [3] Acceptable [2] Unacceptable [1] Secured Marks Algorithm/Logic Algorithmof the issue/problem to be consideredcritically is stated clearly anddescribed comprehensively, delivering relevant information necessary for full understanding. Algorithmof the issue/problem to be consideredcritically is stated, described, and clarifiedso that understandingis not seriously impededby omissions. Algorithmof the issue/problem to be consideredcritically is stated, but descriptionleaves some terms undefined, ambiguities unexplored, boundaries undetermined, Algorithmof the issue /problem tobe consideredcritically is stated without clarification or description. Coding/ Syntax Syntax of the programming language is most efficient andshortest. Syntax of the programming language is correct andno error is found. Syntax of the programming language is 60% correct. Syntax of the programming language is erroneous. Analysis Detail analysis of the problem solution is presented. Correct explanation is expectedwith proper reference. Justifiedanalysis is presented. Relevant analysis is described. Analysis is irrelevant to the problem solution. Organization of the Report The whole report is exceptionallywell-organized andvery easy to understand. The report is thorough, relevant andaccurate informationtosome extent. Informationlacks depth. Accurate but inadequate or repetitiveat times. Vague, unclear. Insufficient or irrelevant information. Comments: Total Marks (Out of 20 ): Instructions: Use the following code to record your voice and store it in MATLAB: audio_signal=audiorecorder(8000,24,1); % sampling rate, sample precision in bits and no. of channels disp('Start speaking.') recordblocking(audio_signal,3) % Recording for 3 seconds disp('End of recording') play(audio_signal) speech=getaudiodata(audio_signal); % Converting to a vector from an audio file Assessment for: P.05.3.P5 Create relevant resources for complex engineering problems using modern engineering tools.
  • 2. DSP Lab Page - 2 Problem 1: Use your own voice to record an audio and save the recorded sound as an audio file, load it into MATLAB by following the instruction given above. Store the recording into the more usual vector of audio and show a time-domain plot of your recorded sound sample. Problem 2: Show the frequency domain response of the data by using the function freqz() in MATLAB by choosing the range of ω from 0 to π. Problem 3: Now add a white Gaussian noise to your recorded audio sample by using the function awgn(input signal, SNR). Use two different values for SNR (in dB) which indicates the quality of the channel characteristics, i.e. one good channel and one bad channel. Plot the noisy signal for two different values of SNR and observe the outputs. Which output is better? Justify your answer. Problem 4: Now design three different filters; LPF, HPF and BPF to pass this noisy signal and remove the noise. Choose the cutoff range from the frequency response curve of your voice signal. Plot the frequency response curve of all your filters and the filtered signals. Which filter output is better for your sound processing system? * There are many predefined window types for the filters in common use, and with different characteristics (that are adequately explained in most signal processing textbooks). Use any one type of window for designing your filter. FIR Filters 1. Rectangular 2. Bartlett 3. Hann 4. Hamming 5. Blackman 6. Kaiser