SlideShare a Scribd company logo
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.pptx
IffahSkmd
 
1.introduction to signals
1.introduction to signals1.introduction to signals
1.introduction to signals
INDIAN NAVY
 
Digital Computer System Introduction - New
Digital Computer System Introduction - NewDigital Computer System Introduction - New
Digital Computer System Introduction - New
rajasekarandpm
 
Introduction to Analog signal
Introduction to Analog signalIntroduction to Analog signal
Introduction to Analog signal
Hirdesh Vishwdewa
 
Wavelet transform
Wavelet transformWavelet transform
Wavelet transform
Twinkal
 
EC8562 DSP Viva Questions
EC8562 DSP Viva Questions EC8562 DSP Viva Questions
EC8562 DSP Viva Questions
ssuser2797e4
 
IARE_DSP_PPT.pptx
IARE_DSP_PPT.pptxIARE_DSP_PPT.pptx
IARE_DSP_PPT.pptx
NavaneethakrishnanVe2
 
Reinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural NetsReinforcement Learning and Artificial Neural Nets
Reinforcement Learning and Artificial Neural Nets
Pierre 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 Notes
Ahmed Gad
 
Slide Handouts with Notes
Slide Handouts with NotesSlide Handouts with Notes
Slide Handouts with Notes
Leon 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 FPGA
Dr. Mohieddin Moradi
 
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 ...
Mehran University Of Engineering and Technology, Pakistan
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
AJAL 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 transform
Simranjit Singh
 
Me314 week 06-07-Time Response
Me314 week 06-07-Time ResponseMe314 week 06-07-Time Response
Me314 week 06-07-Time Response
Dr. Bilal Siddiqui, C.Eng., MIMechE, FRAeS
 
04 image transformations_ii
04 image transformations_ii04 image transformations_ii
04 image transformations_ii
ankit_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.pdf
ShivarkarSandip
 

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
 
Digital Computer System Introduction - New
Digital Computer System Introduction - NewDigital Computer System Introduction - New
Digital Computer System Introduction - New
 
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
 

Recently uploaded

Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
Kamal Acharya
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
P5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civilP5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civil
AnasAhmadNoor
 
AI-Based Home Security System : Home security
AI-Based Home Security System : Home securityAI-Based Home Security System : Home security
AI-Based Home Security System : Home security
AIRCC Publishing Corporation
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
um7474492
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
uqyfuc
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 
Mechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineeringMechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineering
sachin chaurasia
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
Kamal Acharya
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
nedcocy
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICSUNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
vmspraneeth
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 

Recently uploaded (20)

Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
P5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civilP5 Working Drawings.pdf floor plan, civil
P5 Working Drawings.pdf floor plan, civil
 
AI-Based Home Security System : Home security
AI-Based Home Security System : Home securityAI-Based Home Security System : Home security
AI-Based Home Security System : Home security
 
smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...smart pill dispenser is designed to improve medication adherence and safety f...
smart pill dispenser is designed to improve medication adherence and safety f...
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
 
Mechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineeringMechatronics material . Mechanical engineering
Mechatronics material . Mechanical engineering
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
 
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
一比一原版(爱大毕业证书)爱荷华大学毕业证如何办理
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICSUNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
UNIT 4 LINEAR INTEGRATED CIRCUITS-DIGITAL ICS
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 

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