DSP Lab
DSP Lab
DIGITALSIGNALPROCESSINGLAB
(IPCC) (BEC502)
(NEP,OutcomeBasedEducation(OBE)and Choice
BasedCredit System (CBCS)
B.E -VSemester
LabManual2024-25
Name:
USN:
Batch: Section:
. (NAACAccredited&ISO9001:2015CertifiedInstitution)
NH206(B.H.Road),Gubbi,Tumkur–572216.Karnataka.
DepartmentofElectronics&CommunicationEngineering
DIGITALSIGNALPROCESSINGLAB
(IPCC) (BEC502)
Manual
Preparedby: Reviewedby:
1. Dr.VeenaKumariHM Dr.VeenaKumariHM
Professor Professor
2. Mr.SreenivasaTV
AssistantProfessor
3. Ms.DivyaShreeBS
AssistantProfessor
Approvedby:
Dr.SureshDS
Professor&HOD, Dept.
Of ECE
.
[Type text]
INSTITUTEVISION
INSTITUTEMISSION
QUALITYPOLICY
DepartmentofElectronics&CommunicationEngineering
VISIONOFTHEDEPARTMENT
MISSIONOFTHEDEPARTMENT
events.
technologies.
requirements.
[Type text]
PROGRAMEDUCATIONALOBJECTIVES
(PEO’s)
PEO4: Inculcate Professional ethics, human values, team work for solving Engineering
problems and contribute to societal needs.
PROGRAMSPECIFICOUTCOMES
PSO1: Build Analog and Digital Electronic systems for Multimedia Applications,
VLSIandEmbeddedSystemsinInterdisciplinaryResearch/Development.
PSO2: Design and Develop Communication Systems as per Real Time Application and
Current Trends.
COURSEOBJECTIVES
1. Preparation:Topreparestudentswithfundamentalknowledge/overviewinthefield of
Digital Signal Processing
2. CoreCompetence:ToequipstudentswithabasicfoundationofSignalProcessingby
delivering the basics of Discrete Fourier Transforms, their properties, efficient
computations & the design of digital filters.
[Type text]
COURSEOUTCOMES
CO1:Analyzethedifferenttypesofsignalsandsystemsusedindigitalsignalprocessing.
CO2:ComputetheresponseofanLTIsystemusingtimeandfrequencydomain
techniques.
CO3:DevelopalgorithmsfortheefficientcomputationsofDFTandIDFT.
CO4:DesignofdigitalFIRfiltersforthegivenspecificationsusingdifferentwindow
methods.
CO5:DesignofdigitalIIRdigitalfiltersusingbilineartransformationmethod.
[Type text]
PROGRAMOUTCOMES
DepartmentofElectronics&CommunicationEngineering
Syllabus
VISVESVARAYATECHNOLOGICALUNIVERSITY,BELAGAVI
B.E:Electronics&CommunicationEngineering
NEP,OutcomeBasedEducation(OBE)andChoiceBasedCreditSystem(CBCS) SEMESTER – V
DIGITALSIGNALPROCESSINGLABORATORY(IPCC)(BEC502)
SuggestedLearningResources
1.Proakis&Manolakis,“DigitalSignalProcessing- Principles
Algorithms&Applications”,4thEdition,Pearson
education,NewDelhi,2007.ISBN:81-317-1000-9.
2. Li Tan, Jean Jiang, “Digital Signal processing Fundamentals
TextBooks andApplications”,AcademicPress,2013,ISBN:978-0-12-
415893.
3.VinayK.Ingle,JohnGProakis,“DigitalSignalProcessing Using
MATLAB, A problem Solving Companion”,
CengageLearning,2018,ISBN:93-86668-11-4
1.SimonHaykinandBarryVanVeen,“SignalsandSystems”,
2ndEdition,2008,WileyIndia.ISBN9971-51-239-4.
2.SanjitKMitra,“DigitalSignalProcessing,AComputer Based
Approach”, 4th Edition, McGraw Hill Education,
2017. ISBN:978-1-25-909858
ReferenceBooks 3.Oppenheim&Schaffer,“DscreteTimeSignalProcessing",
PHI,2003.
4.DGaneshRaoandVineethPGejji,“DigitalSignal
Processing"CengageIndiaPrivateLimited,2017,ISBN:
9386858231
Web links and Video Digital Signal processing,
Lectures(e-Resources): https://nptel.ac.in/courses/117102060
COURSEASSESSMENTANDEVALUATION
DirectAssessmentMethods
Contributing
When/Where Evidence
to Course
What Towhom (Frequencyin Max.Marks Collected
outcomes
the course)
Observation
bookwritten
Every lab at each lab
session +
Record CO1– CO5
(Avg.ofall 15 Record
&Observati
CIE Students experiment submittedat
on
marks) each lab
+
Viva
CO1– CO5
IATest one 10 BlueBooks
MAPPINGOFCOURSEOUTCOMESWITHPROGRAM
OUTCOMES
PO PSO
1 2 3 4 5 6 7 8 9 10 11 12 1 2
1 2 1 1 2 1
2 2 1 1 2 1
3 2 1 1 2 1
CO 4 2 1 1 2 1
5 2 1 1 2 1
Sum 10 5 5 10 5
Avg 2 1 1 2 1
3:Highcorrelation,2:Mediumcorrelation,1:Lowcorrelation
InstructionstotheCandidates
GeneralLabGuidelines:
• Conduct yourself in a responsible manner at all times in the laboratory. Intentional
misconduct will lead to the exclusion from the lab.
• Do not wander around, or distract other students, or interfere with the laboratory
experiments of other students.
• Read the handout and procedures before starting the experiments. Follow all written and
verbal instructions carefully. If you do not understand the procedures, ask the instructor
or teaching assistant.
• Attendance in all the labs is mandatory, absence permitted only with prior permission
from Class teacher.
• Theworkplacehastobetidybefore,duringandaftertheexperiment.
• Donoteatfood,drinkbeveragesorchewguminthelaboratory.
• Every student should know the location and operating procedures of all Safety equipment
including First Aid Kit and Fire extinguisher.
DO’S:-
UniformandIDcardaremust.
Strictlyfollowtheproceduresforconductionofexperiments.
Recordshavetobesubmittedeveryweekforevaluation.
Chairsandstoolsshouldbekeptundertheworkbencheswhennotinuse.
After the lab session, switch off every supply, disconnect and disintegrate the
experiments and return the components.
Keepyourbelongingsindesignatedarea.
Never use damagedinstruments, wires orconnectors. Handthese parts to the
instructor/ teaching assistant.
Signthelogbookwhenyouenter/leavethe laboratory.
DONT’S:-
Don't touch open wires unless you are sure that there is no voltage.Alwaysdisconnect
the plug by pulling on the connector body not by the cable. Switch off the supply while
you make changes to the experiment.
Don’t leave the experiment table unattended when the experimental setup supply is
on.
Students are not allowed to work in laboratory alone or without presence of the
teaching staff/ instructor.
Noadditionalmaterialshouldbecarriedbythestudentsduringregularlabs.
Avoidsteppingonelectricalwiresoranyothercomputercables
University
EvaluationofDIGITALSIGNALPROCESSINGLABORATORY(IPCC) weightage
Marks
(BEC502)
Labinternal:Conductionfor50marks
1. Writeup–10M
DiscreteExperiments:
(Aim–1M,Circuit–3M,Design–3M,Waveforms–3M)
ProgrammingExperiments:(Aim–1M,Flowchart–3M,Program–6M)
2. ProgramExecution–30M
(Program/CodeOutput–25M,Comments–3M,Optimization–2M, (Partial 10
output – 25M, No Output – 00M )
3. Results&Viva–10M
(Identifying&Showingtheinputsandoutputs–2Mand/or
theoretical calculations – 2M, Output Verification – 1M)
RecordandObservation:
Conductionfor30marks(10Mrecordand20MObservation)
15
(Aim&Apparatus,Algorithm/flowchart(eachexperimentshouldhaveatleastone
flowchart, Calculations, Input/Output observations & Result (10+20=30M)
TotalMarks 25
CONTENTS
SL. PAGENO.
PARTICULARS
NO
1 IntroductionToMATLAB 1-5
2 ProcedureToExecuteMATLABPrograms 6-10
Programtogeneratethefollowingdiscretetimesignals.
a) Unit sample sequence, b) Unit step sequence, c)
3 11-14
Exponentialsequence,d)Sinusoidalsequence,e)Random
sequence
Programtoperformthefollowingoperationsonsignals.
4 a) Signaladdition,b)Signalmultiplication,c)Scaling,d)Shifting,e) 15-20
Folding
Programtoperformconvolutionoftwogivensequences(without using
5 21-22
built-in function) and display the signals
Consideracausalsystemy(n)=0.9y(n-1)+x(n).
a) DetermineH(z)andsketchitspolezeroplot.
6 23-24
b) Plot|H(ejω)|and∠H(ejω)
c) Determinetheimpulseresponse h(n).
ComputationofNpointDFTofagivensequence(withoutusingbuilt- in
7 25-26
function) and to plot the magnitude and phase spectrum.
UsingtheDFTandIDFT,computethefollowingforanytwogiven sequences
8 a) Circularconvolutionb)Linearconvolution 27-28
VerificationofLinearityproperty,circulartimeshiftproperty&circular
9 29-34
frequency shift property of DFT.
Developdecimationintimeradix-2FFTalgorithmwithoutusingbuilt- in
10 35-36
functions.
DesignandimplementationofdigitallowpassFIRfilterusinga window to
11 37-38
meet the given specifications
DesignandimplementationofdigitalhighpassFIRfilterusinga window to
12 39-40
meet the given specifications
DesignandimplementationofdigitalIIRButterworthlowpassfilterto meet
13 41-42
the given specifications
DesignandimplementationofdigitalIIRButterworthhighpassfilter to
14 43-44
meet the given specifications
15 BeyondSyllabusExperiments 45-52
16 VIVA QUESTIONS 53-54
DigitalSignalProcessingLab(IPCC) BEC502
INTRODUCTIONTOMATLAB
MATLAB stands for Matrix Laboratory. It is a high-performance language
that is used for technical computing. It was developed by Cleve Molar of the
company MathWorks. INC in the year 1984.It is written in C, C++, Java. It
allows matrix manipulations, plotting of functions, implementation of
algorithms and creation of user interfaces. It is both a programming language
as well as a programming environment. It allows the computation of
statements in the command window itself.
built-infunctionsofMATLABoffertop-notchresourcesforperforming
calculations, including optimization, linear algebra, numerical solution of
ordinary differential equations (ODEs), data analysis, quadrate, signal
processing,andmanyotherscientifictasks.Modernalgorithmsareusedforthe
majorityofthesefunctions.Therearemanyoftheseforbothanimationsand2- D and
3-D graphics. MATLAB also supports an external interface.
TheusercancreatetheirownfunctionsintheMATLABlanguage.Thus,theyare not
restricted to using only the built-in functions. Additional toolboxes are provided
by MATLAB. These toolboxes were created for common uses such as neural
networks, symbolic computations, image processing, control system design,
and statistics.
MATLABisgenerallyusedforthesetypesoftasks:
Signalprocessing
Optimizationoffunctions
Controlsystemdesign
ImageandAudioprocessing
MachinelearningandDeeplearning
FeaturesofMATLAB
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
our data across any of the three dimensions (1D, 2D, and 3D).We
canplotthefunctionsandcustomizethemalsoaccordingtoourneeds like
changing bullet points, line color and displaying/not displaying grid.
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
WritingaMATLABProgram
2. Using Editor: Multiple lines of code can be written here and onlyafter
pressing the run button (or F5) will the code be executed. It is
alwaysagoodpracticetowriteclc,clearandcloseallinthebeginning of the
program.Note: Statements ending with a semicolon will not be
displayed in the command window, however, their values will be
displayed in the workspace. Any statement followed by % in MATLAB
is considered as a comment
BasicFunctionsinMATLAB
Function Description
clear Toclearallvariables
closeall Tocloseallgraphicswindow
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Function Description
clc Toclearthecommandwindow
exp(x) Tocomputetheexponentialvalueofxtothebasee
abs(x) Tocomputetheabsolutevalueofx
sqrt(x) Tocomputethesquarerootofx
log(x) Tocomputethelogarithmicvalueofxtothebasee
log10(x) Tocomputethelogarithmicvalueofxtothebase10
rem(x,y) Tocomputetheremainderofx/y
sin(x) Tocomputethesineofx
cos(x) Tocomputethecosineofx
tan(x) Tocomputethetangentofx
AdvantagesofMATLAB
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
DisadvantagesofMATLAB
prOCEDURETOEXECUTEMATLABPROGRAMS
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
itContains threewindows
1. CurrentFolderWindow
2. CommandWindow
3. Work Space
Step2: Click on New button and select M-File, An Editor window will open as
follows
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Step3:TypeMATLABProgramineditor window
Step4:SavetheMATLABPrograminadesignatedfolderwith.mExtension.
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
AfterSavingMATLABProgramEditorWindowwilllookasfollows.
Step5:BySelectingEditorButtonClickonRUNButtontoExecuteMATLAB Program
Click on Change folder
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Step7: After Correcting the error click on the RUN button again, MATLAB
program will be Executed and result will be displayed in command window and
respective result will be displayed.
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO1
PROGRAMTOGENERATETHEFOLLOWINGDISCRETE TIME
SIGNALS.
a)UNITSAMPLESEQUENCEb)UNITSTEPSEQUENCE
c)EXPONENTIALSEQUENCEd)SINUSOIDALSEQUENCE
e)RANDOM SEQUENCE
1a)ProgramToGenerateUnitSampleSequence
Program:
clc;cleara
ll;
N=input('enterthevalueoftimeconstant');%Lengthofsequence n =
-N/2:N/2; % Define the time index range
x=(n==0);%Createtheunitsamplesequence(impulsefunction) stem(n, x,
'filled');
xlabel('n');
ylabel('x[n]');
title('UnitSampleSequence');
grid on;
Result1a:
enterthevalueoftime constant20
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
1b)ProgramToGenerateUnitStepSequence Program:
clc;cleara
ll;
N=input('enterthevalueoftimeconstant');%Lengthofsequence n =
-N/2:N/2; % Define the time index range
u=(n>=0);%Createtheunitstepsequence stem(n,
u, 'filled');
xlabel('n');
ylabel('u[n]');
title('UnitStepSequence');
grid on;
Result1b:
enterthevalueoftimeconstant20
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
1c)ProgramToGenerateExponentialSequence
Program:
clc;cleara
ll;
N=input('enterthevalueoftimeconstant');%Lengthofsequence n = 0:N-
1; % Time index ranging from 0 to N-1
A=input('enterthevalueofaAmplitude');
a=input('enterthevalueofaGrowthconstant');
b=input('enterthevalueofaDecay constant');
%Definetheexponentialfactor x =
A * a.^n; % Growing signal
y=A*-b.^n;%Decayingsignal
%Plotthegeneratedexponentialsignals figure;
subplot(2,1,1);
plot(n,x);
xlabel('Time');
ylabel('Amplitude');
title('GrowingExponentialSignal'); subplot(2,
1, 2);
plot(n,y);
xlabel('Time');
ylabel('Amplitude');
title('DecayingExponentialSignal');
Result1c:
enterthevalueoftimeconstant20 enter
the value of a Amplitude5
enterthevalueofaGrowthconstant2
enter the value of a Decay constant2
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
1d)ProgramToGenerateRandomSequence
Program:
clc;cleara
ll;
N=input('enterthevalueLengthoftherandomsequence');
x=rand(1,N);%Generatesa1xNarrayofrandomnumbersbetween
0and1
stem(x, 'filled');
title('RandomSequence');
xlabel('Index');
ylabel('x[n]');
grid on;
Result1d:
enterthevalueLengthoftherandomsequence20
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO2
PROGRAMTOPERFORMTHEFOLLOWING
OPERATIONS ON SIGNALS.
a)SIGNALADDITIONb)SIGNALMULTIPLICATIONc)SCALINGd)SHIFTING,
e) FOLDING
2a)ProgramToPerformtheSignalAdditionoperation
Program:
clc;cleara
ll;
x =input('enter the value of first signal Sequence');
y=input('enterthevalueofSecondsignalSequence'); z=x+y;
figure;
subplot(3,1,1);
stem(x);
xlabel('Time');
ylabel('Amplitude');
title('First Signal');
subplot(3, 1, 2);
stem(y);
xlabel('Time');
ylabel('Amplitude');
title('SecondSignal');
subplot(3, 1, 3);
stem(z);
xlabel('Time');
ylabel('Amplitude');
title('AdditionofTwoSignalZ=X+Y');
Result2a:
enterthevalueoffirstsignalSequence[1234]
enterthevalueofSecondsignalSequence[1111]
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
2b)ProgramToPerformtheMultiplicationoperationon Signals
Program:
clc;cleara
ll;
T=input('enterthelengthofSequence');
t=0:0.01:T-1;
f=input('enterthevalueofFrequency');
t1=2*pi*f*t;
x1=sin(t1);
subplot(3,1,1)
stem(t,x1)
title('FirstSignalX1')
xlabel('Time');
ylabel('Amplitude')grid
on;
x2=cos(t1);
subplot(3,1,2)
stem(t,x2)
title('SecondSignalX2')
xlabel('Time');
ylabel('Amplitude')
gridon;
y=x1.*x2;%Multiplication
subplot(3,1,3)
stem(t,y)
title('MultiplicationResultSignalY=x1*x2')
xlabel('Time')
ylabel('Amplitude')
grid on;
Result2b:
enterthelengthofSequence2
enterthevalueof Frequency4
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
2c)ProgramToPerformtheScalingoperationonSignals.
Program:
clc;cleara
ll;
T=input('enterthelengthofSequence');
t=0:0.01:T-1;
f=input('enterthevalueofFrequency');
t1=2*pi*f*t;
x=sin(t1);
subplot(3,1,1)
plot(t,x)
title('OriginalSignal')
xlabel('Time')
ylabel('Amplitude')grid
on;
y=sin(t1/2);
subplot(3,1,2)
plot(t,y)
title('ExpandedSignal')
xlabel('Time')
ylabel('Amplitude')grid
on;
z=sin(t1*2);
subplot(3,1,3)
plot(t,z)
title('CompressedSignal')
xlabel('Time')
ylabel('Amplitude')
gridon;
Result2c:
enterthelengthofSequence4
enterthevalueof Frequency2
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
2d)ProgramToPerformtheShiftingoperationonSignals.
Program:
clc;cleara
ll;
N=input('EnterthelengthofSequence');
x=input('EnterthevalueofSignalSequenceofLengthN'); n1=input('Enter
the amount to be delayed');
n2=input('Entertheamounttobeadvanced');
n=0:N-1;
subplot(3,1,1);
stem(n,x);
title('Signalx(n)');
m=n+n1;
y=x;
subplot(3,1,2);
stem(m,y);
title('Delayedsignalx(n-n1)');
t=n-n2;
z=x;
subplot(3,1,3);
stem(t,z);
title('Advancedsignalx(n+n2)');
Result2d:
EnterthelengthofSequence4
EnterthevalueofSignalSequenceofLengthN[1234] Enter the
amount to be delayed2
Entertheamounttobe advanced3
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
2e)ProgramtoPerformtheFoldingoperationonSignals.
Program:
clc;cleara
ll;
N=input('EnterthelengthofSequence');
x=input('EnterthevalueofSignalSequenceofLengthN'); n=0:N-1;
subplot(2,1,1)
stem(n,x)
title('OriginalSignal')
xlabel('Time')
ylabel('Amplitude')grid
on;
y=fliplr(x);
subplot(2,1,2)
stem(n,y)
title('FoldedSignal')
xlabel('Time')
ylabel('Amplitude')
grid on;
Result2e:
EnterthelengthofSequence4
EnterthevalueofSignalSequenceofLengthN[1234]
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO3
PROGRAMTOPERFORMCONVOLUTIONOFTWO
GIVENSEQUENCES(WITHOUTUSINGBUILT-IN
FUNCTION) AND DISPLAY THE
SIGNALS
Program:
clc;cleara
ll;
x =input('Enter the value of First Signal Sequence x[n]');
h=input('EnterthevalueofSecondSignalSequenceh[n]');
% convolution
m=length(x);
n=length(h);
X=[x,zeros(1,n)];
H=[h,zeros(1,m)];
for i=1:n+m-1
Y(i)=0;
forj=1:m
if(i-j+1>0)
Y(i)=Y(i)+X(j)*H(i-j+1);
else
end
end
end
figure;
subplot(3,1,1);
stem(x,'filled');
xlabel('n');
ylabel('x[n]');
title('FirstSignalSequencex[n]'); grid
on;
subplot(3,1,2);
stem(h,'filled');
xlabel('n');
ylabel('h[n]');
title('SecondSignalSequenceh[n]'); grid
on;
subplot(3,1,3);
stem(Y,'filled');
ylabel('Y[n]');
xlabel('n');
grid on;
title('ConvolutionofTwoSignalswithoutconvfunction');
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result3a:
Enter the value of First Signal Sequence x[n][1 2 3 1]
EnterthevalueofSecondSignalSequenceh[n][111]
Result3b:
Enter the value of First Signal Sequence x[n][1 1 1 1]
EnterthevalueofSecondSignalSequenceh[n][1231]
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO4
CONSIDERACAUSALSYSTEMy(n)=0.9y(n-1)+x(n).
a) DETERMINEH(z)&SKETCHITSPOLEZEROPLOT.
b) PLOT|H(ejω)|AND∠H(ejω)
c) DETERMINETHEIMPULSERESPONSEh(n).
Program:
clc;cleara
ll;
numerator = [1]; % Numerator of H(z)
denominator=[1-0.9];%DenominatorofH(z)
%Createapole-zeroplot figure;
zplane(numerator, denominator);
title('Pole-ZeroPlotofH(z)');
omega=linspace(-pi,pi,1000);%Definefrequencyrange
H=exp(1j*omega)./(exp(1j*omega)-0.9);%CalculateH(e^j?) magnitude_H =
abs(H);% Magnitude response
phase_H=angle(H);%Phaseresponse
%PlotMagnitudeResponse figure;
plot(omega, magnitude_H);
title('|H(e^{j\omega})|');
xlabel('\omega'); ylabel('|
H(e^{j\omega})|');
%PlotPhaseResponse
figure;
plot(omega, unwrap(phase_H)); title('\
angleH(e^{j\omega})'); xlabel('\omega');
ylabel('\angleH(e^{j\omega})');
%Definetheimpulseresponse n =
0:50; % Time index
h=(0.9.^n);%Impulse response
%Plotimpulseresponse
figure;
stem(n, h, 'filled');
title('ImpulseResponseh(n)');
xlabel('n');
ylabel('h(n)');
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result:
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO5
COMPUTATION OF N POINT DFT OF A GIVEN
SEQUENCE (WITHOUT USING BUILT-IN FUNCTION)
AND TO PLOT THE MAGNITUDE & PHASE SPECTRUM.
Program:
clc;cleara
ll;
x=input('EnterthevalueofSignalSequencex[n]'); N =
length(x); % Length of the sequence
X=zeros(1,N);
%ComputetheN-pointDFT for k
= 0:N-1
sum=0;
forn=0:N-1
%ComputetheDFTusingtheformula
sum=sum+x(n+1)*exp(-1j*2*pi*k*n/N);
end
X(k+1)=sum;%Storetheresult
end
%Computemagnitudeandphasespectra magnitude_X
= abs(X);
phase_X=angle(X);
%Plotthemagnitudespectrum
figure;
subplot(2,1,1);
stem(0:N-1,magnitude_X,'filled');
title('Magnitude Spectrum');
xlabel('Frequency Index'); ylabel('|
X[k]|');
gridon;
%Plotthephasespectrum
subplot(2, 1, 2);
stem(0:N-1,unwrap(phase_X),'filled');
title('Phase Spectrum');
xlabel('Frequency Index'); ylabel('?
X[k]');
gridon;
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result5a:
Enter the value of Signal Sequence x[n][1 2 3 4]
magnitude_X = 10.0000 2.8284 2.0000 2.8284
phase_X=0135.0000 -180.0000-135.0000
Result5b:
EnterthevalueofSignalSequencex[n][112233]
magnitude_X= 12.0000 3.0000 1.7321 0.0000 1.7321 3.0000
phase_X=0120.0000150.0000-90.0000-150.0000-120.0000
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO6
USING THE DFT AND IDFT, COMPUTE THE
FOLLOWINGFORANYTWOGIVENSEQUENCES
a) CIRCULARCONVOLUTION
b) LINEARCONVOLUTION
6a)Programtocomputecircularconvolution
Program:
clc;cleara
ll;
x=input('EnterthevalueofSignalSequencex[n]');
h=input('EnterthevalueofSignalSequenceh[n]'); N =
max(length(x), length(h));
x_padded=[x,zeros(1,N-length(x))];
h_padded=[h,zeros(1,N-length(h))];
%ComputetheDFTofbothsequences
X=fft(x_padded)
H=fft(h_padded)
Y=X.*H%MultiplytheDFTs(element-wise)
y=ifft(Y);%ComputetheIDFTtogetthecircularconvolution disp('Circular
Convolution Result: y');
disp(y);
Result 6a1:
EnterthevalueofSignalSequencex[n][1234]
EnterthevalueofSignalSequenceh[n][1111]
X=10.0000+0.0000i-2.0000+2.0000i-2.0000+0.0000i-2.0000-2.0000i
H =4 0 0 0
Y= 40 0 0 0
CircularConvolutionResult:
10 10 10 10
Result 6a2:
EnterthevalueofSignalSequencex[n][2311]
EnterthevalueofSignalSequenceh[n][1353]
X=7.0000+0.0000i 1.0000-2.0000i-1.0000+0.0000i 1.0000+2.0000i
H =12 -4 0 -4
Y=84.0000+0.0000i-4.0000+8.0000i 0.0000+0.0000i-4.0000-8.0000i
CircularConvolutionResult:y
19 17 23 25
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
6b)Programtocomputelinearconvolution
Program:
clc;cleara
ll;
x=input('EnterthevalueofSignalSequencex[n]');
h=input('EnterthevalueofSignalSequenceh[n]'); Lx =
length(x);
Lh=length(h);
N=Lx+Lh-1;%Lengthofthelinearconvolutionresult x_padded =
[x, zeros(1, N - Lx)];
h_padded=[h,zeros(1,N-Lh)];
%ComputetheDFTofbothsequences
X=fft(x_padded)
H=fft(h_padded)
Y=X.*H%MultiplytheDFTs(element-wise)
y=ifft(Y);%ComputetheIDFTtogetthelinearconvolution disp('Linear
Convolution Result: y');
disp(y);
Result6b:
EnterthevalueofSignalSequencex[n][12 3 4]
EnterthevalueofSignalSequenceh[n][23 1 1]
X=
Columns1through5
Columns6through7
0.3460-2.4791i-2.0245+6.2240i H =
Columns1through5
Columns6through7
70.0000+0.0000i-28.9279-9.4967i 4.6020+2.0240i-3.6741+
0.4646i-3.6741-0.4646i
Columns6through7
4.6020-2.0240i-28.9279+9.4967i
LinearConvolutionResult:y
2.0000 7.0000 13.0000 20.0000 17.0000 7.0000 4.0000
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO7
VERIFICATIONOFLINEARITYPROPERTY,CIRCULAR TIME
SHIFT PROPERTY AND CIRCULAR FREQUENCY SHIFT
PROPERTY OF DFT.
7a)VerificationofLinearitypropertyofDFT
Linearityproperty: DFT{a.x1(n)+b.x2(n)}=a.X1(K)+b.X2(K)
Program:
clc;cleara
ll;
x1=input('EnterthevalueofSignalSequencex1[n]');
x2=input('EnterthevalueofSignalSequencex2[n]');
a=input('Enterthevalueofconstantsa');
b=input('Enterthevalueofconstantsb');
%ComputetheDFTsofx1andx2 X1 =
fft(x1);
X2= fft(x2);
%Computethelinearcombinationofx1andx2
x_combined = a * x1 + b * x2;
%ComputetheDFTofthelinearcombination
X_combined = fft(x_combined);
%ComputethelinearcombinationoftheDFTs
X_combined_direct = a * X1 + b * X2;
%Displayresults
disp('DFTofLinearCombination:');
disp(X_combined);
disp('LinearCombinationofDFTs:');
disp(X_combined_direct);
%Verifyiftheyareapproximatelyequal
ifisequal(round(X_combined,10),round(X_combined_direct, 10))
disp('Linearitypropertyisverified:DFT(a*x1[n]+b*x2[n]) equals
a*X1[k] + b*X2[k].');
else
disp('Linearitypropertyisnotverified.');
end
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result 7a1:
EnterthevalueofSignalSequencex1[n][1234]
EnterthevalueofSignalSequencex2[n][2311] Enter
the value of constants a 2
Enterthevalueofconstantsb3
DFT of Linear Combination:
41.0000+0.0000i-1.0000 -2.0000i-7.0000+0.0000i-1.0000+2.0000i
LinearCombinationofDFTs:
41.0000+0.0000i-1.0000 -2.0000i-7.0000+0.0000i-1.0000+2.0000i
Linearitypropertyisverified:DFT(a*x1[n]+b*x2[n])equalsa*X1[k]+b*X2[k].
Result 7a2:
EnterthevalueofSignalSequencex1[n][1234]
EnterthevalueofSignalSequencex2[n][1111] Enter
the value of constants a 5
Enterthevalueofconstantsb10
DFT of Linear Combination:
90.0000+0.0000i-10.0000+10.0000i-10.0000+0.0000i-10.0000-10.0000i
LinearCombinationofDFTs:
90.0000+0.0000i-10.0000+10.0000i-10.0000+0.0000i-10.0000-10.0000i
Linearitypropertyisverified:DFT(a*x1[n]+b*x2[n])equalsa*X1[k]+b*X2[k].
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Program:
clc;cleara
ll;
N=input('EntertheLengthofthesignal'); x=
input('Enter the input sequence=');
m=input('EntertheNumberofcircularshifts=');
X=fft(x);%ComputeDFToftheoriginalsignal
x_shifted=circshift(x,m);%Circularlyshiftthesignalbym X_shifted =
fft(x_shifted)% Compute DFT of the shifted signal
%Computetheexpectedphase-shiftedDFT k =
0:N-1; % Frequency indices
expected_X_shifted=X.*exp(-1j*2*pi*k*m/N)
subplot(2,1,1);
stem(0:N-1, abs(X_shifted), 'filled');
title('MagnitudeofDFTofShiftedSignal');
xlabel('Frequency Index');
ylabel('Magnitude');
subplot(2,1,2);
stem(0:N-1, abs(expected_X_shifted), 'filled');
title('MagnitudeofExpectedPhase-shiftedDFT');
xlabel('Frequency Index');
ylabel('Magnitude');
Result7b1:
Enter the Length of the signal4
Entertheinputsequence=[1234]
EntertheNumberofcircularshifts=2
X_shifted =
10.0000+0.0000i 2.0000-2.0000i-2.0000+0.0000i 2.0000+2.0000i
expected_X_shifted=
10.0000+0.0000i 2.0000-2.0000i-2.0000 -0.0000i 2.0000+2.0000i
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result7b2:
Enter the Length of the signal4
Entertheinputsequence=[5673]
EntertheNumberofcircularshifts=3
X_shifted =
21.0000+0.0000i 3.0000-2.0000i-3.0000+0.0000i 3.0000+2.0000i
expected_X_shifted=
21.0000+0.0000i 3.0000-2.0000i-3.0000 -0.0000i 3.0000+2.0000i
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
7c)Verificationofcircularfrequencyshiftpropertyof DFT
Circularfrequencyshiftpropertyifx(n)⟷X(K)then x(n)e-j2ϖkl/N=X((K-l))N
Program:
clc;cleara
ll;
N=input('EntertheLengthofthesignal'); x=
input('Enter the input sequence=');
l=input('EntertheNumberofcircularshifts=');
X=fft(x);%ComputeDFToftheoriginalsignal
%Frequencyshiftmultiplier n
= 0:N-1;
e_jw=exp(1j*2*pi*l*n/N);%Complexexponential x_shifted =
x .* e_jw;% Modified signal
X_shifted=fft(x_shifted)%ComputeDFTofthemodifiedsignal
expected_X_shifted=circshift(X,-l)%Circularfrequency-shifted DFT
subplot(2,1,1);
stem(0:N-1, abs(X_shifted), 'filled');
title('MagnitudeofDFTofFrequency-shiftedSignal');
xlabel('Frequency Index');
ylabel('Magnitude');
subplot(2,1,2);
stem(0:N-1, abs(expected_X_shifted), 'filled');
title('MagnitudeofCircularfrequency-shiftedDFT');
xlabel('Frequency Index');
ylabel('Magnitude');
Result7c1:
Enter the Length of the signal4
Entertheinputsequence=[1234]
EntertheNumberofcircularshifts=2
X_shifted =
-2.0000+0.0000i-2.0000-2.0000i10.0000-0.0000i-2.0000+2.0000i
expected_X_shifted=
-2.0000+0.0000i-2.0000 -2.0000i10.0000+0.0000i-2.0000+2.0000i
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result7c1:
Enter the Length of the signal4
Entertheinputsequence=[5623]
EntertheNumberofcircularshifts=3
X_shifted =
3.0000-3.0000i-2.0000+0.0000i 3.0000+3.0000i16.0000-0.0000i
expected_X_shifted=
3.0000+3.0000i16.0000+0.0000i 3.0000-3.0000i-2.0000+0.0000i
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO8
DEVELOP DECIMATION IN TIME RADIX-2 FFT
ALGORITHMWITHOUTUSINGBUILT-INFUNCTIONS
Program:
clc;cleara
ll;
x=input('Entertheinputsequence='); N =
length(x);
%Bit-reversalpermutation
num_bits = log2(N);
reversed_indices=bit_reverse(0:N-1,num_bits); x
= x(reversed_indices + 1);
%FFT computation
%InitiallengthoftheFFT
current_len = 2;
whilecurrent_len<=N
half_len=current_len/2;
twiddle_factor=exp(-2i*pi*(0:half_len-1)/current_len);
fork=1:current_len:N
even=x(k:k+half_len-1);
odd=x(k+half_len:k+current_len-1);
x(k:k+current_len-1)=[even+twiddle_factor.*odd,even
-twiddle_factor.*odd]; end
current_len=current_len*2;
end
%Bitreversalfunction
functionreversed_indices=bit_reverse(indices,num_bits)
% Reverse the bits of the indices
reversed_indices=zeros(size(indices));
for k = 1:length(indices)
bin_str = dec2bin(indices(k), num_bits);
reversed_bin_str = bin_str(end:-1:1);
reversed_indices(k)=bin2dec(reversed_bin_str);
end
end
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result8a:
Entertheinputsequence=[12345678] FFT of
the input:
Columns1 through5
36.0000+0.0000i-4.0000+9.6569i-4.0000+4.0000i-4.0000+
1.6569i-4.0000+0.0000i
Columns6 through8
-4.0000-1.6569i-4.0000-4.0000i-4.0000-9.6569i
Result8b:
Entertheinputsequence=[1100 -1-100] FFT of
the input:
Columns1 through5
Columns6 through8
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO9
DESIGN AND IMPLEMENTATION OF DIGITAL LOW
PASSFIRFILTERUSINGAWINDOWTOMEETTHE
GIVEN SPECIFICATIONS
SummaryofParametersforCommonWindows:
Program:
clc;cleara
ll;
closeall;
fs=input('EntertheValueofSamplingfrequency(fs)inHz='); fc=
input('Enter the Value of Cutoff frequency (fc)in Hz=');
N=input('EntertheOrder(ODDOrder)')
wc=fc/(fs/2);
h=fir1(N,wc,'low',hamming(N+1));
freqz(h,1,1024,fs)
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result9a:
EntertheValueofSamplingfrequency(fs)inHz=8000
Enter the Value of Cutoff frequency (fc)in Hz=2000
Enter the Order (ODD Order)30
Result9a:
EntertheValueofSamplingfrequency(fs)inHz=2000
Enter the Value of Cutoff frequency (fc)in Hz=500
Enter the Order (ODD Order)20
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO10
DESIGNANDIMPLEMENTATIONOFDIGITALHIGH PASS
FIR FILTER USING A WINDOW TO MEET THE GIVEN
SPECIFICATIONS
Program:
clc;cleara
ll;
closeall;
fs=input('EntertheValueofSamplingfrequency(fs)inHz='); fc=
input('Enter the Value of Cutoff frequency (fc)in Hz=');
N=input('EntertheOrder(ODDOrder)');
wc=fc/(fs/2);
h=fir1(N,wc,'high',hamming(N+1));
freqz(h,1,1024,fs)
Result 10a:
EntertheValueofSamplingfrequency(fs)inHz=8000
Enter the Value of Cutoff frequency (fc)in Hz=2000
Enter the Order (ODD Order)30
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result10b:
EntertheValueofSamplingfrequency(fs)inHz=2000
Enter the Value of Cutoff frequency (fc)in Hz=500
Enter the Order (ODD Order)20
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO11
DESIGNANDIMPLEMENTATIONOFDIGITALIIR
BUTTERWORTH LOW PASS FILTER TO MEET THE
GIVEN SPECIFICATIONS.
Program:
clc;
clearall
fs=input('EntertheValueofSamplingfrequency(fs)inHz=');
kp=input('Enter the Value of Pass band Attenuation in dB=');
ks=input('Enter the Value of Stop band Attenuation in dB=');
fp=input('Enter the Value of Pass band Frequency in Hz=');
fstop=input('Enter the Value of Stop band Frequency in Hz=');
wp=fp/(fs/2);
wstop=fstop/(fs/2);
[N,wc]=buttord(wp,wstop,kp,ks)
[b, a]=butter(N,wc,'low')
freqz(b,a,1000,fs)
Result 11a:
EntertheValueofSamplingfrequency(fs)inHz=1000
Enter the Value of Pass band Attenuation in dB=3
Enter the Value of Stop band Attenuation in dB=60
Enter the Value of Pass band Frequency in Hz=40
Enter the Value of Stop band Frequency in Hz=150
N =5
wc=0.0810
b=1.0e-03*0.0227 0.1136 0.2272 0.2272 0.1136 0.0227
a =1.0000 -4.1768 7.0358 -5.9686 2.5478 -0.4375
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result11b:
EntertheValueofSamplingfrequency(fs)inHz=5000
Enter the Value of Pass band Attenuation in dB=7
Enter the Value of Stop band Attenuation in dB=70
Enter the Value of Pass band Frequency in Hz=50
Enter the Value of Stop band Frequency in Hz=500
N= 4
wc =0.0276
b=1.0e-04 *0.0315 0.1259 0.1888 0.1259 0.0315
a =1.0000 -3.7737 5.3464 -3.3701 0.7974
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNO12
DESIGN AND IMPLEMENTATION OF DIGITAL IIR
BUTTERWORTHHIGHPASSFILTERTOMEETTHE
GIVEN SPECIFICATIONS.
Program:
clc;
clearall
fs=input('EntertheValueofSamplingfrequency(fs)inHz=');
kp=input('Enter the Value of Pass band Attenuation in dB=');
ks=input('Enter the Value of Stop band Attenuation in dB=');
fp=input('Enter the Value of Pass band Frequency in Hz=');
fstop=input('Enter the Value of Stop band Frequency in Hz=');
wp=fp/(fs/2);
wstop=fstop/(fs/2);
[N,wc]=buttord(wp,wstop,kp,ks)
[b, a]=butter(N,wc,'high')
freqz(b,a,1000,fs)
Result 12a:
EntertheValueofSamplingfrequency(fs)inHz=1000
Enter the Value of Pass band Attenuation in dB=3
Enter the Value of Stop band Attenuation in dB=60
Enter the Value of Pass band Frequency in Hz=40
Enter the Value of Stop band Frequency in Hz=150
N =5
wc =0.0810
b=0.6615 -3.3073 6.6145 -6.6145 3.3073 -0.6615
a =1.0000 -4.1768 7.0358 -5.9686 2.5478 -0.4375
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
Result 12a:
EntertheValueofSamplingfrequency(fs)inHz=5000
Enter the Value of Pass band Attenuation in dB=7
Enter the Value of Stop band Attenuation in dB=70
Enter the Value of Pass band Frequency in Hz=50
Enter the Value of Stop band Frequency in Hz=500
N=4
wc =0.0276
b=0.8930 -3.5719 5.3579 -3.5719 0.8930
a =1.0000 -3.7737 5.3464 -3.3701 0.7974
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
BeyondSyllabusExperiments
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNOA
COMPUTEAUTOCORRELATIONANDCROSS
CORRELATION OF SEQUENCES
Program:
clc;
clearall
x =input('Enter the Value of First sequence=');
y=input('EntertheValueofSecondsequence=');
[r,lags]=xcorr(x,'coeff');%Computeautocorrelation figure;
stem(lags, r);
title('Autocorrelationofx');
xlabel('Lag');
ylabel('Autocorrelation');
[r,lags]=xcorr(x,y,'coeff');%Computecross-correlation figure;
stem(lags,r);
title('Cross-Correlationbetweenxandy'); xlabel('Lag');
ylabel('Cross-Correlation');
ResultA:
EntertheValueofFirstsequence=[1234]
EntertheValueofSecondsequence=[5623]
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNOB
IMPULSERESPONSEOFFIRSTANDSECONDORDER
SYSTEMS
Program:
clc;closea
ll;
clearall;
n=0:10;
%impulseresponseoffirstordersystem b=[2
0 0];
a=[1-0.90];
y=dimpulse(b,a,length(n));
subplot(2,1,1);
stem(n,y);
xlabel('n--->'); ylabel('amplitude');
title('impulseresponseoffirstordersystem'); b=[1 0 0];
a=[10.60.8];
y1=dimpulse(b,a,length(n)); subplot(2,1,2);
stem(n,y1); xlabel('n>');
ylabel('amplitude');
title('impulseresponseofsecondordersystem');
ResultB:
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNOC
PROGRAMTOPROVETHEPARSEVALSTHEOREM
Parseval’stheoremcanbeexpressedas
Fordiscrete-timesignals,the theoremcanbewrittenas:
Program:
clc;cleara
ll;
closeall;
x1=input('enterthe1stinputseq=')
x2=input('enterthe2ndinputseq=')
N=4;
X1=fft(x1,N)
X2=fft(x2,N)
y1=sum(x1.*conj(x2))
y2=sum(X1.*conj(X2))./N
ify1==y2
disp('parsevalstheoremproved'); else
disp('parsevalstheoremnotproved') end
ResultC:
enterthe1stinputseq=[1234]
x1 =1 2 3 4
enterthe2ndinputseq=[5623]
x2 =5 6 2 3
X1 =
10.0000+0.0000i-2.0000+2.0000i-2.0000+0.0000i-2.0000-2.0000i X2 =
16.0000+0.0000i 3.0000-3.0000i-2.0000+0.0000i 3.0000+3.0000i
y1 =
35
y2 =
35
Parseval’stheorem proved
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNOD
COMPUTATIONOFNPOINTDFTOFAGIVEN SEQUENCE
BY USING BUILT-IN FUNCTION
ANDTOPLOTTHEMAGNITUDE&PHASESPECTRUM.
Program:
clc;cleara
ll;
closeall;
N=input('enterthevalueofN=');
n=0:1:(N-1);
x=input('entertheinputsignal,x(n)=');
X=fft(x,N)
mag=abs(X)
phase=angle(X)
subplot(3,1,1),stem(n,x);
xlabel('Time (s)');
ylabel('Amplitude');
title('Timedomain-Inputsequence');
subplot(3,1,2);
stem(n,mag)
xlabel('Frequency'); ylabel('|
X(k)|');
title('Frequencydomain-Magnituderesponse'); subplot(3,1,3);
stem(n,unwrap(phase));
ylabel('phase(X(k))');
title('Frequencydomain-phaseresponse');
ResultD1:
enterthevalueofN=4
entertheinputsignal,x(n)=[1234] X =
10.0000+0.0000i-2.0000+2.0000i-2.0000+0.0000i-2.0000-2.0000i
mag=
phase=
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
ResultD2:
enterthevalueofN=6
entertheinputsignal,x(n)= [112233]
X=12.0000+0.0000i-1.5000+2.5981i-1.5000+0.8660i 0.0000
+ 0.0000i-1.5000 - 0.8660i -1.5000 - 2.5981i
mag=
12.0000 3.0000 1.7321 0 1.7321 3.0000
phase=
0 2.0944 2.6180 0 -2.6180 -2.0944
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
EXPERIMENTNOE
PROGRAM TO PERFORM CONVOLUTION OF TWO
GIVENSEQUENCESBYUSINGBUILT-INFUNCTION
AND DISPLAY THE SIGNALS.
Program:
clc;cleara
ll;
x =input('Enter the value of First Signal Sequence x[n]');
h=input('EnterthevalueofSecondSignalSequenceh[n]'); y =
conv(x, h);% convolution
figure;
subplot(3,1,1);
stem(x,'filled');
xlabel('n');
ylabel('x[n]');
title('FirstSignalSequencex[n]'); grid
on;
subplot(3,1,2);
stem(h,'filled');
xlabel('n');
ylabel('h[n]');
title('SecondSignalSequenceh[n]'); grid
on;
subplot(3,1,3);
stem(y,'filled');
ylabel('Y[n]');
xlabel('n');
grid on;
title('ConvolutionofTwoSignalswithoutconvfunction');
ResultE1:
Enter the value of First Signal Sequence x[n][1 1 1 1]
EnterthevalueofSecondSignalSequenceh[n][1234]
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
ResultE2:
Enter the value of First Signal Sequence x[n][1 2 3 1]
EnterthevalueofSecondSignalSequenceh[n][111]
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
VIVAQUESTIONS
1. Definesignal,GiveExamplesfor 1-D,2-D,3-Dsignals.
2. Definetransform.Whatis theneedfortransform?
3. DifferentiateFouriertransformanddiscreteFouriertransform.
4. DifferentiateDFTandDTFT
5. ExplainmathematicalformulaforcalculationofDFT.
6. ExplainmathematicalformulaforcalculationofIDFT.
7. HowtocalculateFTfor1-D signal?
8. Whatis meantbymagnitudeplot,phaseplot,power spectrum?
9. ExplaintheapplicationsofDFT.
10. Whatareseparabletransforms?
11. Explainthesignificanceof convolution.
12. Definelinear convolution.
13. Whylinear convolutioniscalledasaperiodicconvolution?
14. Whyzeropaddingisusedinlinear convolution?
15. Whatarethefourstepstofindlinearconvolution?
16. Whatis thelengthoftheresultantsequenceinlinearconvolution?
17. HowlinearconvolutionwillbeusedincalculationofLTIsystem response?
18. ListfewapplicationsoflinearconvolutioninLTIsystem design.
19. Givethepropertiesoflinear convolution.
20. Howthelinearconvolutionwillbeused tocalculatetheDFTofa signal?
21. Definetransform.Whatistheneedfortransform?
22. DifferentiateFouriertransformanddiscreteFouriertransform.
23. DifferentiateDFTandDTFT.
24. WhataretheadvantagesofFFTover DFT?
25. DifferentiateDITFFTandDIFFFT algorithms.
26. Whatis meantby radix?
27. Whatis meantbytwiddlefactorandgiveits properties?
28. HowFFTisusefultorepresenta signal?
29. CompareFFTandDFTwithrespecttonumberofcalculations required?
30. Howtheoriginalsignalis reconstructedfromtheFFTofasignal?
31. Definefilter.
32. Whatarethedifferenttypesof filters?
33. WhyareFIRfiltersgenerallypreferredoverIIRfiltersinmultirate
(decimating and interpolating) systems/
34. DifferencebetweenIIRandFIRfilters?
35. Differentiateidealfilterandpracticalfilterresponses.
36. Whatisthefilterspecificationsrequiredtodesigntheanalogfilters?
37. Whatismeantbyfrequencyresponseof filter?
38. Whatismeantbymagnitude response?
39. Whatismeantbyphase response?
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
[Type text]
DigitalSignalProcessingLab(IPCC) BEC502
[Type text]