Unit 1 Signals (21 22)
Unit 1 Signals (21 22)
• Conveys information
• Sound
• Image
• Video
• Biomedical data
• Music
• Speech
How does a Signal look ?
Communication
signal
Electrical
signal
Speech /
Audio
signal
Biomedical
signal Images
Signal Representation
sound of bird
Or sound of bear
Or sound of a waterfall
Amplify
Attenuate
We have to check the frequency spectrum of this particular signal
Clip
and extract only the frequency that we want using a filter
Slow down the signal (scale up the time axis)
Fast forward the signal (scale down the time axis)
HOW to perform all that is mentioned in this slide ?
Jump to a particular time and start playing it (time delay)
Shift the signal (time shifting) We learn all of this in SNS
SNS - Vidya Sawant
Signal
Modify signal in time Analyze
domain Processing
Unit 3:
Fourier Series Unit 2:
(frequency analysis of periodic CT signal) LTI Systems
Unit 1:
Elementary signals and Unit 4:
operations on signals Fourier Transform
(frequency analysis Aperiodic CT signal)
Unit 5:
Laplace Transform
(analyze CT signal in complex domain, s)
Unit 6:
Z Transform (Discrete signals)
What is a System :
• We need to process the signal (Sound , Images, Video, Biomedical data,
control signals, transmitted signals, sensor data, time-varying
measurements, etc…)
• To understand difference between a continuous time signal and discrete time signal
• To learn to transform the signals from time domain to frequency domain (various
transformation such as fourier transform, laplace transform, z transform)
1. Signals
2. Basic operation on signals
3. Classification of Signals
Speech signal
Variation of air pressure in the vocal tract
X(t) as a function of time
Image signal
Variation of color Intensity (brightness)
f(x,y)
Intensity changes with spatial (horizontal / vertical ) positions
Frequency Analysis is
done by :
Fourier Transform
Laplace Transform
Z Transform
0.8
0.6
0.5
0.4
0.25
0.2 0.125
0.0625
0
0 1 2 3 4
x(n)
∫ δ ( 𝑡 ) 𝑑𝑡 =𝑢 (𝑡 )
−∞
(t)
∫ δ ( 𝑡 ) 𝑑𝑡 =1
−∞ and
𝑡
i.e.
∫ δ ( 𝑡 ) 𝑑𝑡 = 0 , 𝑡 <0
(t)
−∞
𝑡
∫ δ ( 𝑡 ) 𝑑𝑡 =1 , 𝑡 > 0
−∞ SNS - Vidya Sawant
Significance of impulse function
To convert a continuous time signal to discrete time signal
SAMPLING: to convert CT signal into DT signal
By multiplying CT signal by a unit impulse and its shifted versions
∞
𝑥 ( 𝑡 )= ∑ 𝑥 ( 𝑡 ) . 𝛿(𝑡 −𝑛)
𝑛=− ∞
∫ 𝑢 ( 𝑡 ) 𝑑𝑡 =∫ 1 𝑑𝑡 =𝑡
𝑜 0
Therefore :
∫ 𝑢 ( 𝑡 ) 𝑑𝑡=𝑟 ( 𝑡 )
𝑜
𝑑 𝑟 (𝑡 )
𝑡h𝑎𝑡 𝑖𝑠 ,𝑢 ( 𝑡 ) =
𝑑𝑡
𝑥 ( 𝑡 ) =2 ¿
𝑥 ( 𝑡 )= 𝐴 ¿ 𝑥 ( 𝑡 )=9 ¿
SNS - Vidya Sawant
Rectangular signal
𝑥 ( 𝑡 ) = 𝐴 𝑟𝑒𝑐𝑡 ( )
𝑡
𝑇
Example:
5
𝑝𝑙𝑜𝑡 : 𝑥 ( 𝑡 ) =5 𝑟𝑒𝑐𝑡 ( )
𝑡
4
−4 4
2 2
SNS - Vidya Sawant
−𝟐 𝟐
Example of rectangular signal
𝑝𝑙𝑜𝑡 : 𝑥 ( 𝑡 )= 4 𝑟𝑒𝑐𝑡 ( 4 𝑡 ) 4
−1/ 4 1/ 4
2 2
−𝟏 /𝟖 1
−𝑇 /2 𝑇 /2
2 2
−𝑻 /𝟒 𝑻 /𝟒
- +
2
𝑇=
𝑎
𝑥 ( 𝑡 )=
1
𝑎
𝑟𝑒𝑐𝑡 ( 𝑎𝑡
2 )
𝐴𝑟𝑒𝑎 𝑤𝑖𝑡
SNSh 𝑖𝑛 Sawant
- Vidya 𝑡h𝑒 𝑝𝑢𝑙𝑠𝑒=1
Sinusoidal Signal
Φ is the phase
Wo is fundamental frequency
𝑢 [ 0 ] =δ [ − ∞ ] + .. .+ δ [ 0 ]
¿ 0 +0+ . ..+1
+
¿1
¿ 0 +0+ . ..+1+ 0+ 0
¿1
𝑢 [ 1 ] =δ [ − ∞ ] +. . .+ δ [ 0 ] + δ [ 1 ]
Therefore
¿ 0 +0+ . ..+1+ 0
¿1
SNS - Vidya Sawant
Discrete time signal
• Exponential signal
For simplicity C = 1
20
x(n) 16
15
35
30
x(n) 10
25
5 4
20
0.25 1
0.0625
15 0
-4 -3
-0.125 -2 -1
-0.5 0 1 2 3 4
10 -2
-5
5
0 -8
-5 -4 -3 -2 -1 0 1 2 3 4 5 -10
12 10
10
8 5 4
8
1 0.25 1
0.0625
6 0
-4 -3 -2 -1 0 1
-0.5 2 3
-0.125 4
4
4 -2
2 -5
2 1 1
0.5 0.25 0.125 0.0625
0 -8
-10
-4 -3 -2 -1 0 1 2 3 4
x(n) x(n)
-1 < α < 0
0< α < 1, Decaying exponent
Double sided Decaying exponent
α = 0.5 α = - 0.5
𝑥 [ 𝑛 ] =0.5 𝑛 SNS - Vidya Sawant 𝑥 [ 𝑛 ] =− 0.5𝑛
Unit 1
Signals
1. Signals
2. Elementary signals – analog and discrete signals
3. Basic operation on signals
4. Classification of Signals
Data Augmentation
𝑦 ( 𝑡 )=− 𝑥 (𝑡 )
X(2t) is same as record played at twice the speed (therefore will run faster in time
-hence compressed)
X(t/2) is same recording played at half the speed (therefore will run slower in time
-hence expanded)
SNS - Vidya Sawant
Example 2 (Time Scaling of Signals)
Find x(2t)
Find x(t/2)
Expanded
Compressed
Find x(t/2)
Where, X(t) is the original signal, and t0 represents the shift in time.
Note: If shift t0 > 0 (+ve) x(t- t0 ) The signal is shifted to right by t0 (delayed)
move the origin of x(t) to to
Meaning the signal is the signal x(t) that was t0 seconds ago
Time Reversal : x ( - t )
1. Plot u (t)
2. Plot u (t-2)
2. Plot x(t/2)
i.e expand the time scale by 2
1. Plot u (2t))
b. Then do scaling
2. - u (2t-2)
c. Amplitude reversal
2. Plot u (t/2)
b. Plot u (t - 2 ) d. Plot - u (t/2 - 2 )
3. Time reversal
𝑥 (−2 𝑡 +3)
𝑆𝑡𝑒𝑝 1: 𝐷𝑜 𝑡𝑖𝑚𝑒𝑠h𝑖𝑓𝑖𝑡𝑖𝑛𝑔 : 𝑥 (𝑡 +3)
This practice will enable to solve questions easily without being bothered about
the taking the common factor
𝑥 ( 𝑡 )=2 𝑢 ( 𝑡 ) +2 𝑢 ( 𝑡 −1 ) −2 𝑢 ( 𝑡 −3 )
𝑥 ( 𝑡 )=2 𝑟 ( 𝑡 ) −2 𝑟 ( 𝑡 −2 ) −2 𝑟 ( 𝑡 −6 ) +2 𝑟 (𝑡 − 8)
x(t)
Random Signal
In summary, any even signal are Whereas, any odd signal are
symmetric about the vertical (time origin) asymmetric about the origin
SNS - Vidya Sawant
Examples: (Even and Odd signals)
(B)
x(t)
1.2
1
0.8
0.6
0.4
0.2
0
-1.5 -1 -0.5 0 0.5 1 1.5
𝑥𝑒 [ 𝑛 ]
SNS - Vidya Sawant 𝑥𝑜[ 𝑛 ]
Note: Product of two signals
• Even signal x Even signal = Even signal
𝑆𝑖𝑛𝑐𝑒 , 𝑥 ( 𝑡 ) = 𝑥( − 𝑡 )
𝑆𝑖𝑛𝑐𝑒 , 𝑥 ( − 𝑡 )= 𝑥 (𝑡 )
𝑇h𝑒 𝑠𝑖𝑔𝑛𝑎𝑙 𝑥 ( 𝑡 ) 𝑖𝑠 𝑎𝑒𝑣𝑒𝑛 𝑠𝑖𝑔𝑛𝑎𝑙 SNS - Vidya Sawant
Show that the product of one odd signal and one even signal
is a even signal
• Numericals on CT or DT
• Plot the signal
• What is the fundamental frequency of the signal
• Check if the given signal is periodic or not
APeriodic Signal
Any sequence which is not periodic is called as non – periodic (or aperiodic) signal /
sequence SNS - Vidya Sawant
• Fundamental Period (smallest value of T satisfying the equation)
𝑁 =11
¿ 4 ¿
𝑆 𝑖𝑛𝑐𝑒 ,= 1 =0
𝑥 [ 𝑛+10 ] = 𝑥 [ 𝑛 ]
𝑥 [ 𝑛 ] 𝑖𝑠 𝑎 𝑝𝑒𝑟𝑖𝑜𝑑𝑖𝑐 𝑠𝑖𝑔𝑛𝑎𝑙
SNS - Vidya Sawant
Check if the given Sinusoid is periodic signal with
period 20
𝑥 [ 𝑛 ] =5 cos (0.3 π 𝑛 −0.1 π )
𝑥 [ 𝑛 ] =𝑥 [ 𝑛+ 𝑁 ]
𝑁 =20
𝑥 [ 𝑛+ 20 ] =5 cos( 0.3 π (𝑛 +20 ) − 0.1 π )
𝑥 [ 𝑛+ 𝑁 ] =2 cos( 3 π ( 𝑛+ 𝑁 ) )
¿ 2 ¿
to be satisfied =1
i.e. =
=0
𝑥 [ 𝑛 ] 𝑖𝑠 𝑎 𝑝𝑒𝑟𝑖𝑜𝑑𝑖𝑐 𝑠𝑖𝑔𝑛𝑎𝑙 𝑖𝑓 : 3 π 𝑁 = 2 π
2
𝑃𝑒𝑟𝑖𝑜𝑑 𝑁 =
3
SNS - Vidya Sawant
Check if the given Sinusoid is periodic signal with
period 100
𝑥 [ 𝑛 ] =2 cos (0.2 π 𝑛 +0.9 π )
𝑥 [ 𝑛 ] =𝑥 [ 𝑛+ 𝑁 ]
𝑁 =10
𝑥 [ 𝑛+10 ] =2cos ( 0.2 π ( 𝑛+100)+0.9 π )
¿ 2 cos (0.2 π 𝑛+20 π + 0.9 π )
¿ 2 cos ( ( 0.2 π 𝑛+0.9 π ) +20 π )
¿ 2 ¿
𝑆 𝑖𝑛𝑐𝑒 ,= 1 =0
𝑥 [ 𝑛+10 ] = 𝑥 [ 𝑛 ]
𝑥 [ 𝑛 ] 𝑖𝑠 𝑎 𝑝𝑒𝑟𝑖𝑜𝑑𝑖𝑐 𝑠𝑖𝑔𝑛𝑎𝑙
SNS - Vidya Sawant
Complex exponential signals
• We can also represent a sine wave 𝑥 ( 𝑡 )= 𝐴 sin ( 𝜔 𝑡 + 𝜃 )
as 𝑥 ( 𝑡 )= 𝐴𝑒 𝑗 𝜃
=
=
𝑗𝑤𝑜 𝑇
𝑒 =1
for , where m is a positive integer
𝑗𝑤𝑜 𝑡
𝑇h𝑒 𝑔𝑖𝑣𝑒𝑛 𝑠𝑖𝑔𝑛𝑎𝑙 𝑒 𝑖𝑠 𝑎 𝑝𝑒𝑟𝑖𝑜𝑑𝑖𝑐 𝑠𝑖𝑔𝑛𝑎𝑙 𝑖𝑓
period of the signal
SNS - Vidya Sawant
• For discrete time signal x[n] derivation is same with t replaced by n
Note:
Condition for a signal to be periodic
=
=
𝑗𝑤𝑜 𝑁
𝑒 =1
when , where m is a positive integer
𝑤𝑜 𝑁 =2 𝑚 π is a rational number
𝒋 𝒘𝒐 𝒏
𝑆𝑡𝑒𝑝 1: 𝐶𝑜𝑚𝑝𝑎𝑟𝑒 𝑤𝑖𝑡h 𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝒙 [ 𝒏 ] =𝒆
𝑤𝑜 =7 π
𝑤𝑜 7 π
=
2π 2π
𝑤𝑜 7 𝑚
= = 𝑤h𝑖𝑐h 𝑖𝑠 𝑎 𝑟𝑎𝑡𝑖𝑜𝑛𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟
2π 2 𝑁
𝑥 ( 𝑡 )= 𝐴 cos ( 𝑤𝑡 +Φ ) 𝑥 [ 𝑛 ] = 𝐴 cos
𝑁(
2π𝑛
)
+ Φ , 𝑛=0 , 1, 2 , … , 𝑁
𝑥 ( 𝑡 )= 𝐴 cos ( 2 π 𝑓 𝑡 + Φ )
is the phase of the signal
N is the number of samples of the signal in one period
2π 1/N is the frequency of the samples
𝑥 ( 𝑡 )= 𝐴 cos( t +Φ )
𝑇
is the phase of the signal
T is the Period of the signal
1/T is the frequency of the signal
sec
= 𝑁 =21
1
21 𝑠𝑎𝑚𝑝𝑙𝑒𝑠 𝑖𝑛 2 𝑝𝑒𝑟𝑖𝑜𝑑 𝑠𝑎𝑚𝑝𝑙𝑒𝑑 𝑎𝑡 𝑎 𝑓𝑟𝑒𝑞𝑢𝑒𝑛𝑐𝑦 𝑜𝑓
𝑁
𝑁 =8
1
𝑓=
8
x=
𝑁 =4
1
𝑓=
4
2π
=8 π 1
𝑇 𝑇= 𝑠𝑒𝑐
4
𝑓 =4 𝐻𝑧
= 1
4 𝑓 2=
4
With period at
4, 8,12, 16, 20,…..
𝑇h𝑒𝑟𝑒𝑓𝑜𝑟𝑒 𝑡h𝑒 𝑜𝑣𝑒𝑟𝑎𝑙𝑙 𝑠𝑖𝑔𝑛𝑎𝑙 𝑥 [ 𝑛 ] 𝑖𝑠 𝑝𝑒𝑟𝑖𝑜𝑑𝑖𝑐 𝑤𝑖𝑡h 𝑓𝑢𝑛𝑑𝑎𝑚𝑒𝑛𝑡𝑎𝑙 𝑝𝑒𝑟𝑖𝑜𝑑 𝑜𝑓 12
SNS - Vidya Sawant
Based upon whatever taught
students should practice Numericals
from Text books
+∞
𝐸 = ∫ 𝑥 ( 𝑡 ) 𝑑𝑡
2
Total energy (of entire signal)
−∞
+𝑇
1
The total average power (of entire signal) 𝑃= lim
𝑇→∞ 2𝑇
∫ 𝑥2 ( 𝑡 ) 𝑑𝑡
−𝑇
𝐸 =∫ 𝑝 ( 𝑡 ) 𝑑𝑡
𝑡1
Instantaneous Power 𝑡2 𝑡2
1
𝑝 (𝑡 )=𝑣 ( 𝑡 ) . 𝑖(𝑡 ) 𝐸= ∫ 𝑣 2( 𝑡 ) 𝑑𝑡 𝐸=𝑅 ∫ 𝑖2 (𝑡 ) 𝑑𝑡
𝑅𝑡 1 𝑡1
2
𝑣 (𝑡 ) 𝐴𝑣𝑒𝑟𝑎𝑔𝑒 𝑝𝑜𝑤𝑒𝑟 𝑜𝑣𝑒𝑟 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 𝑡 1 𝑡𝑜 𝑡 2
¿
𝑅 𝑡2
𝐸𝑛𝑒𝑟𝑔𝑦 1 1 2
2
𝑃=
𝑇𝑖𝑚𝑒
𝑃= ∫
𝑡 2 −𝑡 1 𝑡 𝑅
𝑣 (𝑡 ) 𝑑𝑡
¿ 𝑖 (𝑡) 𝑅 1
𝑡2
1
2. The average power in a given interval 𝑃= ∫
𝑡 2−𝑡1 𝑡
𝑖
2
( 𝑡 ) 𝑅 𝑑𝑡
(over one cycle of a signal) 1
+∞
𝐸 = ∫ 𝑖 ( 𝑡 ) 𝑅 𝑑𝑡
2
3. Total energy (of entire signal)
−∞
+𝑇
1
4. The total average power (of entire signal) 𝑃= lim
𝑇→∞ 2𝑇
∫ 2
𝑖 (𝑡 ) 𝑅 𝑑𝑡
−𝑇
The total
The energy E and
total energy Total
E and average
Total Power
average Poweron
of aa per ohm
Signal basis are :
x (t):
+∞
+∞
𝐸=
𝐸 ∫=
¿ 𝑥 (𝑡 ∫
2
)∨¿ 𝑑𝑡𝑖¿2 ( 𝑡 ) 𝑑𝑡 𝐽𝑜𝑢𝑙𝑒𝑠
−∞
− ∞
+𝑇 +𝑇
1 1 2
𝑃 lim
𝑃= = lim
𝑇𝑇→
𝑇→∞ 2
∫ ¿ 𝑥(𝑡 )∨¿
2 𝑇 −𝑇
∫
𝑑𝑡 ¿ 𝑖
2
( 𝑡 ) 𝑑𝑡 𝑊𝑎𝑡𝑡𝑠
−𝑇 ∞
Periodic signals
POWER SIGNAL
𝑬 =∞ , 𝑷 = 𝒇𝒊𝒏𝒊𝒕𝒆 𝒗𝒂𝒍𝒖𝒆
𝑬 =∞ (𝒃𝒆𝒄𝒂𝒖𝒔𝒆 𝑬 =𝑷 . 𝑻 𝐚𝐧𝐝 𝐓 −→ ∞)
−∞
−𝑇
+∞
𝐸= ∑ ¿𝑥(𝑛)∨¿ ¿ 2
𝑛=− ∞
E=PxT E=PxT
E = finite P = finite
Over infinite time P = E/T = 0 Over infinite time E = ∞
+𝑇
1 1. Power of energy signal = 0
∫ lim ¿∫ ¿ 𝑥(𝑡 )∨¿ 𝑑𝑡 ¿
22
¿ 𝑥 ( 𝑡 )∨ ¿ 𝑃=
𝑑𝑡 2. Energy of a power signal = ∞
∞ 𝑇 → ∞ 2 𝑇 −𝑇
Periodic signal:
Bounded aperiodic signal: Power signal
Bounded aperiodic signal: Energy signal
Energy signal P = ½, E=∞
Un-bounded aperiodic signal:
𝐸=∞ , 𝑃=∞
𝑁𝑒𝑖𝑡h𝑒𝑟 𝑒𝑛𝑒𝑟𝑔𝑦 𝑛𝑜𝑟 𝑝𝑜𝑤𝑒𝑟
| 𝐴|=√ 𝑥 2+ 𝑦 2
𝑦
𝑎𝑛𝑔𝑙𝑒 ( 𝐴 ) 𝑜𝑟 𝑝h𝑎𝑠𝑒 ( 𝐴 )=𝑡𝑎𝑛 −1
𝑥
Mod and angle of a complex number can be found by doing rectangular to polar
conversion on calculator.
[∫ ]
+𝑇 +𝑇
𝐴2 1 𝑐𝑜𝑠 2 𝑡
𝑃 = lim 𝑑𝑡 − ∫ 𝑑𝑡
𝑇→∞ 2 𝑇 −𝑇 2 −𝑇 2
lim 1 +𝑇
2
𝑃=
𝑇 →∞
2𝑇
∫ 2 2
𝐴 𝑠𝑖𝑛 𝑡 𝑑𝑡 ❑
𝑃=
𝐴
−𝑇
2
The given signal x(t) is a power
SNS -signal
Vidya Sawantas it has a finite power
Examples: (Energy and Power
Signal)
(1) Determine if the given signal is a energy or power signal?
𝑃=
𝑇 →∞
2𝑇
∫¿𝑥 2
(𝑡 )∨ 𝑑𝑡 ❑ 𝑃=
𝑇 → ∞
2𝑇
∫ 𝐴
2
¿¿¿
−𝑇 − 𝑇
0
2
lim 𝐴 +𝑇 +𝑇
lim 1 +𝑇
𝑃=
𝑇 →∞
4 𝑇
∫ 1. 𝑑𝑡 + ∫ ¿
−𝑇 −𝑇
𝑃=
𝑇 →∞
2𝑇
∫ 2 2
𝐴 𝑐𝑜𝑠 (𝑤 𝑜 𝑡 + θ) 𝑑𝑡 ❑
−𝑇 2
𝐴
𝑃=
2
The given signal x(t) is a power signal
SNS - Vidya Sawant a as it has finite power
Note
• Symmetrical signal
+𝑇
∫ 𝑥 ( 𝑡 )=0
−𝑇
Complex number
lim 1 +𝑇
|𝑥 ( 𝑡 )|=√( 𝐴𝑐𝑜𝑠 ω 𝑜 𝑡 )
2 2
+( 𝐴𝑠𝑖𝑛 ω𝑜 𝑡 ) 𝑃=
𝑇 →∞
∫ ¿ 𝑥 2 (𝑡 )∨ 𝑑𝑡 ❑
2𝑇 −𝑇
lim 1 +𝑇
2
𝑃 = 𝐴 𝑊𝑎𝑡𝑡𝑠
|𝑥 ( 𝑡 )|= 𝐴
SNS - Vidya Sawant
Check if the given signal is a energy
or a power signal
The given signal is aperiodic and hence we first check if it is energy signal
• Non-Causal Signal-A signal is said to be non-causal if it is defined for either t ≤ 0 or for both t < 0
and t ≥ 0
(signal that starts from t < 0) 𝑥 ( 𝑡 ) ≠ 0 , 𝑓𝑜𝑟 𝑡 <0
(right and left sided signal)
• Anti-causal Signal - When a non-causal signal is defined for only t ≤ 0 it is called as anticausal
(signal that exists only t < 0) 𝑥 ( 𝑡 ) ≠ 0 , 𝑜𝑛𝑙𝑦 𝑓𝑜𝑟 𝑡 < 0
(left sided signal)
SNS - Vidya Sawant
𝐶𝑎𝑢𝑠𝑎𝑙 𝑠𝑖𝑔𝑛𝑎𝑙
𝑏𝑡
5 . 𝐸𝑥𝑝𝑜𝑛𝑒𝑛𝑡𝑖𝑎𝑙 𝑠𝑖𝑔𝑛𝑎𝑙 : 𝑥 ( 𝑡 )= 𝐴 𝑒 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑡 −− −−→ 𝑁𝑜𝑛− 𝑐𝑎𝑢𝑠𝑎𝑙 𝑠𝑖𝑔𝑛𝑎𝑙