SlideShare a Scribd company logo
1 of 33
Download to read offline
Digital Signal Processing
Lecture 1 Contents (Signals)
Follows Section 2.1 of the textbook (Proakis and
Manolakis, 4th ed.).
By
Dr. Muhammad Imran Farid
• What is a signal? What is a system?
• Continuous time vs. discrete time (analog vs. digital)
• Signal transformations
• Flipping/time reversal
• Scaling
• Shifting
• Combining transformations; order of operations
• Signal properties
• Even and odd
• Decomposing a signal into even and odd parts (with Matlab demo)
Lecture 1 Contents
• Periodicity
• Special signals
• The delta function
• The unit step function
• The relationship between the delta and step functions
• Decomposing a signal into delta functions
• The sampling property of delta functions
• Complex number review (magnitude, phase, Euler's formula)
• Real sinusoids (amplitude, frequency, phase)
• Real exponential signals
• Complex exponential signals
Lecture 1 Contents
Digital Signal Processing
Lecture 1 (Signals)
By
Dr. Muhammad Imran Farid
• Digital Signal Processing (DSP) is a discrete version of Signal and Systems
• Basic Operations to a signal
Verify by plugging some numer
shift
flip
scale
to check
Check by plugin values
% code for even and odd in DSP Lecture 1
clear all;
close all;
clc;
x = rand(1,9) - 0.5;
figure(1), stem(x,'LineWidth',2);
% to make the middle value zero
figure(2), stem(-4:4, x,'LineWidth',2);
% flip version of x
negx = fliplr(x); % flip left to right
figure(3), stem(-4:4, negx,'LineWidth',2);
% even and odd part of x
evx = (x + negx)/2;
odx = (x - negx)/2;
figure(4), stem(-4:4, evx,'LineWidth',2);
figure(5), stem(-4:4, odx,'LineWidth',2);
% verify whether we get beck original signal from even odd or nor ?
q = evx + odx;
figure(6), stem(-4:4, q,'LineWidth',2);
(signal repeats after certain integer)
Delta function
Unit Step
function
• An another way of seeing the relationship between continuous and discrete delta
function
Continuous time
step function
derivative
Continuous Time
delta function
Life is easier in
digital world
Delta function is just the
difference between the
two step functions
Analogy to continuous part
• For every value of k of delta, we are multiplying it with the corresponding values of X and add them all
up to get X[n]
• We use it a lot in convolution etc….
• Lets say we have a signal as a function of
k
• We can pick up any value of signal using delta function
Cartesian to
polar
Polar to
Cartesian
Real envelope on
top of sinusoid
Not periodic (because amplitude change) but a sense of
periodicity inside the envelope
• If r < 0 it’s the decreasing envelope
• If r = 0 we don’t have envelope and it’s the regular sine and cosine
• If r > 0 it’s the increasing envelope
• In a similar way in discrete time signal
• In a similar way in discrete time signal
• If 𝛽 < 0 it’s the decreasing envelope
• If 𝛽 = 0 we don’t have envelope and it’s the regular sine and cosine
• If 𝛽 > 0 it’s the increasing envelope
𝛽 < 0
• If we add 2𝜋 in any frequency, we ends up getting the same frequency
• Means there is no infinitely high frequencies in discrete time world
The lowest frequency one can get in
discrete world is one
• The highest frequency one can get
in discrete world is the back and
forth as quickly as possible
• This is the as fast digitally we can
go
Ideal
in practice
• Aim is to design a filter as close as possible to the ideal
• We need to be careful to determine whether a signal is periodic in the discrete world.
• Cosine is periodic but that is not always true in discrete world
Period looks like this
EXAMPLE:
for N to be an integer we must
have k = 2 for N to be 5
This will never be an integer
% code for even and odd in DSP Lecture 1
clear all;
close all;
clc;
n = -10:10;
x = cos(4*pi/5*n);
figure(1), stem(x,'LineWidth',2);
%non periodic example
x = cos(7*n);
figure(2), stem(x,'LineWidth',2);
• So we need to be very careful about very particular cosine that are periodic in discrete time world
• We will talk a lot about it in when Insha'Allah we will cover Fourier Series and Fourier Transform

More Related Content

Similar to Lecture 1 Signals.pdf

SP_BEE2143_C1.pptx
SP_BEE2143_C1.pptxSP_BEE2143_C1.pptx
SP_BEE2143_C1.pptxIffahSkmd
 
1.introduction to signals
1.introduction to signals1.introduction to signals
1.introduction to signalsINDIAN NAVY
 
Introduction to Analog signal
Introduction to Analog signalIntroduction to Analog signal
Introduction to Analog signalHirdesh Vishwdewa
 
Wavelet transform
Wavelet transformWavelet transform
Wavelet transformTwinkal
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions ssuser2797e4
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsPierre de Lacaze
 
Introduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course NotesIntroduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course NotesAhmed Gad
 
Slide Handouts with Notes
Slide Handouts with NotesSlide Handouts with Notes
Slide Handouts with NotesLeon Nguyen
 
Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)Abdullah al Mamun
 
Wavelet Based Image Compression Using FPGA
Wavelet Based Image Compression Using FPGAWavelet Based Image Compression Using FPGA
Wavelet Based Image Compression Using FPGADr. Mohieddin Moradi
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMA seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMमनीष राठौर
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transformSimranjit Singh
 
04 image transformations_ii
04 image transformations_ii04 image transformations_ii
04 image transformations_iiankit_ppt
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing ssuser2797e4
 
Classification of Signal.pdf
Classification of Signal.pdfClassification of Signal.pdf
Classification of Signal.pdfShivarkarSandip
 
Analog digitalsignals
Analog digitalsignalsAnalog digitalsignals
Analog digitalsignalsrofldork
 

Similar to Lecture 1 Signals.pdf (20)

SP_BEE2143_C1.pptx
SP_BEE2143_C1.pptxSP_BEE2143_C1.pptx
SP_BEE2143_C1.pptx
 
1.introduction to signals
1.introduction to signals1.introduction to signals
1.introduction to signals
 
Introduction to Analog signal
Introduction to Analog signalIntroduction to Analog signal
Introduction to Analog signal
 
Wavelet transform
Wavelet transformWavelet transform
Wavelet transform
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions
 
IARE_DSP_PPT.pptx
IARE_DSP_PPT.pptxIARE_DSP_PPT.pptx
IARE_DSP_PPT.pptx
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural Nets
 
Introduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course NotesIntroduction to Digital Signal Processing (DSP) - Course Notes
Introduction to Digital Signal Processing (DSP) - Course Notes
 
Slide Handouts with Notes
Slide Handouts with NotesSlide Handouts with Notes
Slide Handouts with Notes
 
Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)Recurrent Neural Networks (RNNs)
Recurrent Neural Networks (RNNs)
 
Wavelet Based Image Compression Using FPGA
Wavelet Based Image Compression Using FPGAWavelet Based Image Compression Using FPGA
Wavelet Based Image Compression Using FPGA
 
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORMA seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
A seminar on INTRODUCTION TO MULTI-RESOLUTION AND WAVELET TRANSFORM
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
Me314 week 06-07-Time Response
Me314 week 06-07-Time ResponseMe314 week 06-07-Time Response
Me314 week 06-07-Time Response
 
04 image transformations_ii
04 image transformations_ii04 image transformations_ii
04 image transformations_ii
 
EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
Classification of Signal.pdf
Classification of Signal.pdfClassification of Signal.pdf
Classification of Signal.pdf
 
Analog digitalsignals
Analog digitalsignalsAnalog digitalsignals
Analog digitalsignals
 

Recently uploaded

HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 

Recently uploaded (20)

HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 

Lecture 1 Signals.pdf

  • 1. Digital Signal Processing Lecture 1 Contents (Signals) Follows Section 2.1 of the textbook (Proakis and Manolakis, 4th ed.). By Dr. Muhammad Imran Farid
  • 2. • What is a signal? What is a system? • Continuous time vs. discrete time (analog vs. digital) • Signal transformations • Flipping/time reversal • Scaling • Shifting • Combining transformations; order of operations • Signal properties • Even and odd • Decomposing a signal into even and odd parts (with Matlab demo) Lecture 1 Contents
  • 3. • Periodicity • Special signals • The delta function • The unit step function • The relationship between the delta and step functions • Decomposing a signal into delta functions • The sampling property of delta functions • Complex number review (magnitude, phase, Euler's formula) • Real sinusoids (amplitude, frequency, phase) • Real exponential signals • Complex exponential signals Lecture 1 Contents
  • 4. Digital Signal Processing Lecture 1 (Signals) By Dr. Muhammad Imran Farid
  • 5. • Digital Signal Processing (DSP) is a discrete version of Signal and Systems
  • 6.
  • 7. • Basic Operations to a signal
  • 8. Verify by plugging some numer
  • 10.
  • 11. % code for even and odd in DSP Lecture 1 clear all; close all; clc; x = rand(1,9) - 0.5; figure(1), stem(x,'LineWidth',2); % to make the middle value zero figure(2), stem(-4:4, x,'LineWidth',2); % flip version of x negx = fliplr(x); % flip left to right figure(3), stem(-4:4, negx,'LineWidth',2); % even and odd part of x evx = (x + negx)/2; odx = (x - negx)/2; figure(4), stem(-4:4, evx,'LineWidth',2); figure(5), stem(-4:4, odx,'LineWidth',2); % verify whether we get beck original signal from even odd or nor ? q = evx + odx; figure(6), stem(-4:4, q,'LineWidth',2);
  • 12. (signal repeats after certain integer)
  • 14. • An another way of seeing the relationship between continuous and discrete delta function
  • 15. Continuous time step function derivative Continuous Time delta function Life is easier in digital world Delta function is just the difference between the two step functions Analogy to continuous part
  • 16. • For every value of k of delta, we are multiplying it with the corresponding values of X and add them all up to get X[n] • We use it a lot in convolution etc….
  • 17. • Lets say we have a signal as a function of k • We can pick up any value of signal using delta function
  • 18.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. Real envelope on top of sinusoid Not periodic (because amplitude change) but a sense of periodicity inside the envelope • If r < 0 it’s the decreasing envelope • If r = 0 we don’t have envelope and it’s the regular sine and cosine • If r > 0 it’s the increasing envelope
  • 25. • In a similar way in discrete time signal
  • 26. • In a similar way in discrete time signal • If 𝛽 < 0 it’s the decreasing envelope • If 𝛽 = 0 we don’t have envelope and it’s the regular sine and cosine • If 𝛽 > 0 it’s the increasing envelope 𝛽 < 0
  • 27.
  • 28. • If we add 2𝜋 in any frequency, we ends up getting the same frequency • Means there is no infinitely high frequencies in discrete time world
  • 29. The lowest frequency one can get in discrete world is one • The highest frequency one can get in discrete world is the back and forth as quickly as possible • This is the as fast digitally we can go
  • 30. Ideal in practice • Aim is to design a filter as close as possible to the ideal
  • 31. • We need to be careful to determine whether a signal is periodic in the discrete world. • Cosine is periodic but that is not always true in discrete world Period looks like this
  • 32. EXAMPLE: for N to be an integer we must have k = 2 for N to be 5 This will never be an integer
  • 33. % code for even and odd in DSP Lecture 1 clear all; close all; clc; n = -10:10; x = cos(4*pi/5*n); figure(1), stem(x,'LineWidth',2); %non periodic example x = cos(7*n); figure(2), stem(x,'LineWidth',2); • So we need to be very careful about very particular cosine that are periodic in discrete time world • We will talk a lot about it in when Insha'Allah we will cover Fourier Series and Fourier Transform