M1
M1
M1
➢ Mainly 2 types of signals- Continuous time signals (analog signals) & discrete time
signals
➢ They are difficult to analyze, as they carry a huge number of values. In order to
store these signals , we require an infinite memory.
➢ They are continuous in amplitude and discrete in time and is denoted by x[n]
2. Functional Representation
−3, 𝑓𝑜𝑟 𝑛 = −2
2, 𝑓𝑜𝑟 𝑛 = −1
0, 𝑓𝑜𝑟 𝑛 = 0
𝑥𝑛 =
3, 𝑓𝑜𝑟 𝑛 = 1
1, 𝑓𝑜𝑟 𝑛 = 2
2, 𝑓𝑜𝑟 𝑛 = 3
4. Sequence Representation
𝑥 𝑛 = {−3, 2, 0, 3, 1, 2}
➢ They are the building blocks for the construction of more complex signals. Also
called standard signals.
1, 𝑡 >0
𝑢 𝑡 =ቊ
0, 𝑡 < 0
1, 𝑛≥0
𝑢[𝑛] = ቊ
0, 𝑛<0
∞, 𝑡=0
𝛿 𝑡 =ቊ
0, 𝑡≠0
Properties of continuous time unit impulse function
∞
1. −∞ 𝛿 𝑡 𝑑𝑡 = 1
2. It is an even function of time, ie, 𝛿 𝑡 = 𝛿 −𝑡
∞ ∞
3. −∞ 𝑥 𝑡 𝛿 𝑡 − 𝑡0 𝑑𝑡 = 𝑥 𝑡0 ; −∞ 𝑥 𝑡 𝛿 𝑡 𝑑𝑡 = 𝑥 0
1
4. 𝛿 𝑎𝑡 = 𝛿 𝑡
𝑎
5. 𝑥 𝑡 𝛿 𝑡 − 𝑡0 = 𝑥 𝑡0 𝛿 𝑡 − 𝑡0 = 𝑥 𝑡0 ;𝑥 𝑡 𝛿 𝑡 = 𝑥 0
1, 𝑛=0
𝛿[𝑛] = ቊ
0, 𝑛≠0
Properties of discrete time unit impulse function
1. 𝛿 𝑛 = u n − u[n − 1]
2. σ∞
𝑛=−∞ 𝑥 𝑛 𝛿[𝑛 − 𝑛0 ] = 𝑥[𝑛0 ]
Soln:
∞
a) −∞ 𝛿 𝑡 + 2 𝑒 −2𝑡 𝑑𝑡
∞
Property used is −∞ 𝑥 𝑡 𝛿 𝑡 − 𝑡0 𝑑𝑡 = 𝑥 𝑡0
𝑥 𝑡 = 𝑒 −2𝑡 ; 𝑡0 = −2 ; −2 lies between −∞ and ∞
∞
−∞ 𝛿 𝑡 + 2 𝑒 −2𝑡 𝑑𝑡 = x 𝑡0 = 𝑒 −2(−2) = 𝑒 4
∞ ∞
∞
b) −∞ 𝛿 𝑡 cos 2𝑡 + 𝛿 𝑡 − 2 sin 2𝑡 𝑑𝑡 = න 𝛿 𝑡 cos 2𝑡 𝑑𝑡 + න 𝛿 𝑡 − 2 sin 2𝑡 𝑑𝑡
−∞ −∞
Property used is σ∞
𝑛=−∞ 𝑥[𝑛] 𝛿 𝑛 − 𝑛0 = 𝑥[𝑛0 ]
σ∞ 2
𝑛=0 𝛿 𝑛 + 4 . 𝑛 = 0
Soln:
10
−10 cos( 𝜋𝑡 )𝛿 2𝑡 − 10 𝑑𝑡 Properties used:
10 1
1. 𝛿 𝑎𝑡 = 𝛿 𝑡
= න cos( 𝜋𝑡 ) 𝛿 2(𝑡 − 5) 𝑑𝑡 𝑎
∞
−10 2. −∞ 𝑥 𝑡 𝛿 𝑡 − 𝑡0 𝑑𝑡 = 𝑥 𝑡0
1 10
= cos( 𝜋𝑡 ) 𝛿(𝑡 − 5)𝑑𝑡
2 −10
1 1
= cos 𝜋5 = −
2 2
𝑡, 𝑡≥0
r 𝑡 =ቊ
0, 𝑡 < 0
r 𝑡 =t.u(t)
𝑛, 𝑛≥0
r[𝑛] = ቊ
0, 𝑛 < 0
𝑥[𝑛] = 𝐴𝑠𝑖𝑛 ω𝑛 + 𝜑
➢ Period of a discrete time sinusoidal
2𝜋
sequence is N = . k
ω
𝑥 𝑡 = 𝐴𝑒 𝛼𝑡
➢ A and 𝛼 are real numbers. A is the amplitude of the exponential signal measured at t=0.
𝑥 𝑡 = 𝐴𝑒 𝑠𝑡
➢ A is the amplitude and 𝑠 is a complex variable defined as 𝑠 = 𝜎 + 𝑗𝜔.
Soln:
3
i) 2𝑥(−2𝑡 + 3) = 2𝑥 −2 𝑡 −
2
1
Soln: (i) 𝑦 𝑛 = −2𝑥 −2[𝑛 − ]
2
Soln:
1 1
a) 𝑥 𝑡 −2 =𝑥 𝑡−4
2 2
5
b) 𝑥( 𝑡)
3
1, −1 ≤ 𝑡 ≤ 1
HWQ2. A signal is given by 𝑥 𝑡 = ൜ . Sketch 𝑥(3𝑡 + 2) & 𝑥(−2𝑡 − 1)
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
➢ A causal signal does not exist for negative values of time, and an anti causal signal
does not exist for positive values of time.
➢ A signal that exist for both positive as well as negative time is non causal.
1. 𝑥 𝑡 = 𝑒 2𝑡 𝑢 𝑡 − 1
3. 𝑥 𝑡 = 2𝑢(−𝑡)
x(t) exists for only negative values of
time. Therefore anti causal.
1 𝑛 1 𝑛
4. 𝑥 𝑛 = 𝑢 𝑛+2 − 𝑢 𝑛−4
4 2
The signal exists for both positive and
negative values of time. Therefore non
causal.
(a) 𝑥 𝑡 = 𝑒 𝑗2𝑡 𝑥 𝑡 + 𝑥 −𝑡
𝑥 −𝑡 = 𝑒 −𝑗2𝑡 𝑥𝑒 𝑡 =
𝑗2𝑡 + 𝑒 −𝑗2𝑡 2
𝑥 𝑡 + 𝑥 −𝑡 𝑒 = 𝑐𝑜𝑠2𝑡
𝑥𝑒 𝑡 = = 𝑥 𝑡 − 𝑥 −𝑡
2 2 𝑥𝑜 𝑡 =
2
𝑥 𝑡 − 𝑥 −𝑡 𝑒 𝑗2𝑡 − 𝑒 −𝑗2𝑡
𝑥0 𝑡 = = = 𝑗𝑠𝑖𝑛2𝑡 𝑒 𝑗θ + 𝑒 −𝑗θ
2 2 cos θ =
2
(b) 𝑥 𝑡 = 𝑠𝑖𝑛2𝑡 + 𝑠𝑖𝑛2𝑡 𝑐𝑜𝑠2𝑡 + 𝑐𝑜𝑠2𝑡 𝑒 𝑗θ − 𝑒 −𝑗θ
sin θ =
𝑥 −𝑡 = 𝑠𝑖𝑛2(−𝑡) + 𝑠𝑖𝑛2(−𝑡)𝑐𝑜𝑠2(−𝑡) + 𝑐𝑜𝑠2(−𝑡) 2𝑗
sin(−θ) = − sin θ
= −𝑠𝑖𝑛2𝑡 − 𝑠𝑖𝑛2𝑡 𝑐𝑜𝑠2𝑡 + 𝑐𝑜𝑠2𝑡
cos(−θ) = cos θ
𝑥 𝑛 + 𝑥 −𝑛 1
𝑥𝑒 𝑛 = = [−2, 2, 2, 2, −2] = [−1, 1, 1, 1, −1]
2 2
𝑥 𝑛 − 𝑥 −𝑛 1
𝑥0 𝑛 = = [−2, 8, 0, −8, −2]= [−1, 4, 0, −4, −1]
2 2
➢ A signal which repeats itself at regular intervals of time is called a periodic signal,
and signal which does not repeat itself at regular intervals is called a non periodic or
aperiodic signal.
➢ A signal is periodic if and only if
𝑥 𝑡 + 𝑇 = 𝑥 𝑡 𝑓𝑜𝑟 𝑎𝑙𝑙 𝑡
➢ The smallest value of T which satisfies the above condition is called the fundamental
time period of the signal.
1
➢ Fundamental frequency is given by 𝑓 =
𝑇
2𝜋
➢ Angular frequency is 𝜔 = 2𝜋𝑓 =
𝑇
2𝜋
∴𝑇 =
𝜔
𝝅
(i) sin (12𝜋𝑡 + ) (ii) 𝑒 𝑗4𝜋𝑡 (iii) cos2t+sin 3𝑡 (iv) 3sin 10𝜋t+4 cos 20 𝜋 t
𝟐
(v) sin 𝜋𝑡. u(t) (vi) sin (0.02𝜋n) (vii) cos (𝑛/6) cos (n𝜋/6)
(viii) 1+𝑒 𝑗2𝜋𝑛/3 − 𝑒 𝑗4𝜋𝑛/7 (ix) 8 cos 4t cos6t
Note:
a) sin 𝜔0 𝑡 , cos 𝜔0 𝑡, sin (𝜔0 𝑡 +θ) , cos(𝜔0 𝑡 +θ) & 𝑒 𝑗𝜔0 𝑡 individually are periodic, but
when combined may not be periodic. They will be periodic only if ratio of their time
period is rational. Fundamental Time period is LCM of individual time periods.
b) sin 𝜔0 𝑛 , cos 𝜔0 𝑛 & 𝑒 𝑗𝜔0 𝑛 may not be periodic. These signals are periodic only if
k 𝜔0
= is rational
𝑁 2𝜋
Downloaded from Ktunotes.in
𝝅
(i) sin (12 𝝅𝒕 + ) (iii) cos2t+sin 𝟑𝒕
𝟐
2𝜋 2𝜋
𝑇1 = = = 𝜋/5 𝜋 𝜋 𝐿𝐶𝑀 𝑁𝑢𝑚𝑒𝑟𝑎𝑡𝑜𝑟𝑠
𝜔1 10 𝐿𝐶𝑀 , = =𝜋
5 1 𝐻𝐶𝐹 𝐷𝑒𝑛𝑜𝑚𝑖𝑛𝑎𝑡𝑜𝑟𝑠
2𝜋 2𝜋
𝑇2 = = =𝜋
𝜔2 2
𝜋/5
Ratio of 2 periods =𝑇1 /𝑇2 = =1/5
𝜋
➢ The equations for total energy and average power of a signal is given
𝜏/2
𝐸=න 1. 𝑑𝑡
−𝜏/2
1 𝑇
P = Lt −𝑇 |𝑥 𝑡 |2 𝑑𝑡 𝜏/2
𝑇→∞ 2𝑇 𝐸= 𝑡 −𝜏/2 =𝜏
1 𝜏/2
𝑃 = Lt න 1. 𝑑𝑡
𝑇→∞ 2𝑇 −𝜏/2 Power is 0 and energy is finite
1 1
𝑃 = Lt 𝑡
𝜏/2
= Lt [𝜏] ∴ Energy Signal
𝑇→∞ 2𝑇 −𝜏/2 𝑇→∞ 2𝑇
𝐸 = |𝑥[𝑛]|2
𝑛=−∞
𝑁 ∞
1
𝑃 = Lt |𝑥[𝑛]|2 𝐸 = 1 =∞
𝑁→∞ 2𝑁 + 1
𝑛=−𝑁 𝑛=0
𝑁
1 Power is finite and energy is infinite
𝑃 = Lt 1
𝑁→∞ 2𝑁 + 1
𝑛=0 1 ∴ Power Signal
1 𝑁[1 + ]
𝑁
𝑃 = Lt [𝑁 + 1] = Lt 1
𝑁→∞ 2𝑁 + 1 𝑁→∞
𝑁[2 + ]
𝑁
𝑇
𝐸 = න |𝑥 𝑡 |2 𝑑𝑡 = න 𝑒 −3𝑡 𝑢 𝑡 2
𝑑𝑡
1 −∞ −∞
𝑃 = Lt න |𝑥 𝑡 |2 𝑑𝑡
𝑇→∞ 2𝑇 −𝑇 ∞
∞ 𝑒 −6𝑡
𝑇 𝐸 = න 𝑒 −6𝑡 . 𝑑𝑡 =
1 −6
𝑃 = Lt න |𝑒 −3𝑡 u(t) |2 𝑑𝑡 0 0
𝑇→∞ 2𝑇 −𝑇
−6𝑡 𝑇 𝑒 −∞ − 𝑒 −0 1 − 𝑒 −∞ 1
1 𝑇 −6𝑡 1 𝑒 𝐸= = =
𝑃 = Lt න 𝑒 𝑑𝑡 = 𝑇→∞
Lt −6 6 6
𝑇→∞ 2𝑇 0 2𝑇 −6 0 ∴ Energy Signal
Since the ratio is rational, the signal periodic. Therefore, power signal.
𝑇
1 𝑇 1
𝑃 = Lt න |𝑥 𝑡 |2 𝑑𝑡 = Lt න |𝑢 𝑡 + 𝑒 −6𝑡 𝑢 𝑡 |2 𝑑𝑡
𝑇→∞ 2𝑇 −𝑇 𝑇→∞ 2𝑇 −𝑇
1 𝑇
= Lt න |1 + 𝑒 −6𝑡 |2 𝑑𝑡
𝑇→∞ 2𝑇 0
1 𝑒 −6𝑇 𝑒 −12𝑇 𝑒0 𝑒0 ∞
𝑃 = Lt [𝑇 − − −0+ + ] =න 1 + 2𝑒 −6𝑡 + 𝑒 −12𝑡 𝑑𝑡
𝑇→∞ 2𝑇 3 12 3 12
0
1 𝑒 −6𝑇 𝑒 −12𝑇 1 1 𝑒 −6𝑡 𝑒 −12𝑡 ∞
𝑃 = Lt . 𝑇[1 − − + + ] = [𝑡 − − ]0
𝑇→∞ 2𝑇 3𝑇 12𝑇 3𝑇 12𝑇 3 12
1 1 𝑒 −∞ 𝑒 −∞ 𝑒0 𝑒0
𝑃 = . 1−0−0+0+0 = =∞− − −0+ + =∞
2 2 3 12 3 12
∞
𝐸 = න |𝑥 𝑡 |2 𝑑𝑡 Power is finite & energy is infinite.
−∞ ∴ 𝑃𝑜𝑤𝑒𝑟 𝑠𝑖𝑔𝑛𝑎𝑙
1 0 2𝑡 𝑇
𝑃 = Lt න 𝑒 𝑑𝑡 + න 𝑒 −2𝑡 𝑑𝑡
𝑇→∞ 2𝑇 −𝑇 0
1 𝑇
𝑃 = Lt න |𝑥 𝑡 |2 𝑑𝑡
𝑇→∞ 2𝑇 −𝑇
1 𝑇 −|𝑡| 2
𝑃 = Lt න |𝑒 | 𝑑𝑡
𝑇→∞ 2𝑇 −𝑇
➢ A signal exhibiting no uncertainty of its magnitude and phase at any given instant of
time is called a deterministic signal.
➢ It has a regular pattern and can be completely represented by mathematical
equations.
Eg: x(t)=cos (wt) or x[n]=cos [wn]
➢ A signal characterized by uncertainty about its occurrence is called a random signal.
➢ A random signal cannot be represented by any mathematical equation.
Eg: thermal noise generated in an electric circuit.
➢ Defined as an entity which acts on an input and transforms it into an output signal.
𝑑2 𝑦 𝑡 𝑑𝑦 𝑡
a) + 2𝑡𝑦 𝑡 = 𝑡 2 𝑥(𝑡) b) 2 + 5𝑦 𝑡 = 𝑥 2 (𝑡) c) 𝑦 𝑡 = 𝑥 𝑡 2
𝑑𝑡 𝑑𝑡
1
d) 𝑦 𝑡 = 𝑒 𝑥 𝑡 e) 𝑦 𝑛 = 𝑥 𝑛 +
2𝑥 𝑛−2
Weighted sum of o/p Weighted sum of o/p Not a Weighted sum of i/p
Weighted sum of o/p ≠ o/p due weighted sum of i/p. ∴ Non linear
For an input 𝑥2 [𝑛] Weighted sum of o/p ≠ o/p due weighted sum
1
𝑦2 [𝑛] = 𝑥2 𝑛 + of i/p. ∴ Non linear
2𝑥2 𝑛 − 2
Weighted sum of output is:
1 1
𝑎𝑦1 [𝑛] + 𝑏𝑦2 [𝑛] = 𝑎 𝑥1 𝑛 + + 𝑏 𝑥2 𝑛 +
2𝑥1 𝑛 − 2 2𝑥2 𝑛 − 2
➢ ie, if delayed output = output delayed due to input for all possible values of t, the
system is time invariant.
➢ A system is said to be causal if the output of the system at any time depends
only on the present and past values of the input but not on the future values of
input.
𝑑2 𝑥 𝑡
b) y t = + 2𝑥(𝑡)
𝑑𝑡 2
Differential equation. ∴ Dynamic system
c) y n = 𝑥 2 [𝑛]
1. 𝑦 𝑛 = 𝑙𝑜𝑔10 | 𝑥 𝑛 |
2. 𝑦(𝑡) = 𝑥 2 (𝑡)
3. 𝑦 𝑛 = 𝑥 𝑛 . 𝑥 𝑛 − 2
1
4. 𝑦[𝑛] = ( )𝑛 𝑥[𝑛]
2
➢ If a system has a unique relationship between its input x(t) (or x[n]) and output
y(t) (or y[n]), the system is known as invertible.
➢ y[n]= 2𝑥 2 [𝑛] is a non invertible system. (x[n] & -x[n] will give the same output,
so no unique relation between input & output).
➢ 𝑥 𝑡 = 𝑇 −1 𝑇 𝑥 𝑡 𝑜𝑟 𝑥 𝑛 = 𝑇 −1 𝑇 𝑥[𝑛]
𝑥 𝑛 = 3. δ 𝑛 + 1 + 1. δ 𝑛 − 2. δ 𝑛 − 1 + 2. δ 𝑛 − 2 + 2. δ 𝑛 − 3
𝑦 𝑛 =𝑇 𝑥 𝑛 =𝑇 𝑥[𝑘]δ 𝑛 − 𝑘 = 𝑥 𝑘 𝑇 {δ 𝑛 − 𝑘 }
𝑘=−∞ 𝑘=−∞
∞ ∞
= 𝑥 𝑘 ℎ 𝑛 − 𝑘 = ℎ 𝑘 𝑥 𝑛 − 𝑘 = 𝑥[𝑛] ∗ ℎ[𝑛]
𝑘=−∞ 𝑘=−∞
➢ This is called the convolution sum and h[n] is the impulse response of the system.
➢ h[n-k] is the response of the system to time shifted impulse.
➢ Hence if we know the impulse response of the LTI system, then we can find the
response of the system to any other input.
= 𝑥 𝑘 ℎ 𝑛−𝑘
𝑘=−∞
𝑦[𝑛] = 𝑥 𝑘 ℎ 𝑛 − 𝑘
𝑘=−∞
𝑦 −1 = 𝑥 𝑘 ℎ −1 − 𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 + 1]
𝑘=−∞
=2
𝑦 0 = 𝑥 𝑘 ℎ −𝑘
𝑘=−∞
=7
𝑦 1 = 𝑥 𝑘 ℎ 1−𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 − 1]
𝑘=−∞
=6
𝑦 2 = 𝑥 𝑘 ℎ 2−𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 − 2]
𝑘=−∞
= -1
𝑦 3 = 𝑥 𝑘 ℎ 3−𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 − 3]
𝑘=−∞
= -2
2 2 4 2 y[n]= {2,7,6,-1,-2}
3 3 6 3
-2 -2 -4 -2
= 𝑥 𝑘 ℎ 𝑛−𝑘
𝑘=−∞
𝑦[𝑛] = 𝑥 𝑘 ℎ 𝑛 − 𝑘
𝑘=−∞
𝑦 −2 = 𝑥 𝑘 ℎ −2 − 𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 + 2]
𝑘=−∞
=1
𝑦 −1 = 𝑥 𝑘 ℎ −1 − 𝑘
𝑘=−∞
= 𝑥 𝑘 ℎ −[𝑘 + 1]
𝑘=−∞
=1
𝑦 0 = 𝑥 𝑘 ℎ −𝑘
𝑘=−∞
=0
𝑦 1 = 𝑥 𝑘 ℎ 1−𝑘
𝑘=−∞
= 𝑥 𝑘 ℎ −[𝑘 − 1]
𝑘=−∞
=2
𝑦 2 = 𝑥 𝑘 ℎ 2−𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 − 2]
𝑘=−∞
=0
𝑦 3 = 𝑥 𝑘 ℎ 3−𝑘
𝑘=−∞
∞
= 𝑥 𝑘 ℎ −[𝑘 − 3]
𝑘=−∞
=1
𝑦 𝑛 = {1,1,0,2,0,1}
Soln:
First check length of x[n] and h[n].
1. If both sequences are of the same length, take any one sequence and append zeros so
that the length of the sequence becomes L+M-1.
2. If both sequences are of different length, take the smallest sequence and append zeros
so that the length of the sequence becomes L+M-1.
3. After checking these 2 conditions, form a matrix using the modified sequence so that
the number of rows is equal to L+M-1 and number of columns is equal to the length of
the other sequence.
4. Then multiply the matrix with the unmodified sequence to get the output.
1 2 -3 -2 y[n]= {2,-7,10,-3,-9,-2}
-2 -4 6 4
3 6 -9 -6
1 2 -3 -2
∴𝑦 𝑛 = 𝑥 𝑘 ℎ 𝑛−𝑘 =0
𝑘=−∞
∴𝑦 𝑛 = 𝑥 𝑘 ℎ 𝑛−𝑘
𝑘=−∞
∞
1 𝑘 1 𝑛−𝑘
= ( ) 𝑢𝑘 ( ) 𝑢[𝑛 − 𝑘]
2 3
𝑘=−∞
3 𝑛+1
1 𝑛 1 − ( )
=( ) . 2
3 3
1−
2
0, 𝑛<0
3
∴𝑦 𝑛 =൞ 1 𝑛 1−( )𝑛+1
2
( ) 3 , 𝑛≥0
3 1−
2
1 −1 3 0, 𝑛<0
1 𝑛 1 − (( ) ) 1
=( ) 3 1−(3)𝑛+1
3 1 −1 1 , 0≤𝑛≤2
1−( ) ∴𝑦 𝑛 = 1−3
3
1 1
(3)𝑛−2 −(3)𝑛+1
1 1 , 𝑛>0
( )𝑛−2 −( )𝑛+1 1
1−3
𝑦[𝑛] = 3 3
1
1−
3
➢ As discussed in the case of discrete time LTI systems, a continuous time signal can
also be expressed in terms of impulses.
∞
➢ In general 𝑥 𝑡 = න 𝑥 𝜏 𝛿 𝑡 − 𝜏 𝑑𝜏
−∞
Discrete Time Impulse Response and Convolution Sum
𝑦 𝑡 = න 𝑇{ 𝑥 𝜏 𝛿 𝑡 − 𝜏 𝑑𝜏} = න 𝑥 𝜏 𝑇{𝛿 𝑡 − 𝜏 } 𝑑𝜏
−∞ −∞
➢ This is called the convolution integral and h(t) is the impulse response of the system.
➢ Hence if we know the impulse response of the LTI system, then we can find the
response of the system to any other input.
𝑦 𝑡 =𝑥 𝑡 ∗ℎ 𝑡
∞
= න 𝑥 𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏
−∞
= න 𝑒 2𝜏 𝑢 −𝜏 . 𝑢(𝑡 − 𝜏 − 3)𝑑𝜏
−∞
𝑡−3 𝑡−3
𝑒 2𝜏
𝑒 2(𝑡−3) 𝑒 −2.∞ 𝑒 2(𝑡−3)
𝑦 𝑡 = න 𝑒 2𝜏 𝑑𝜏 = = − =
2 −∞ 2 2 2
−∞
𝑦 𝑡 =𝑥 𝑡 ∗ℎ 𝑡
∞
= න 𝑥 𝜏 ℎ 𝑡 − 𝜏 𝑑𝜏
−∞
𝑡−1 3
𝑡−1 3 = −4𝑡 + 12
𝑦 𝑡 = න −2𝑑𝜏 + න 2𝑑𝜏 = −2 𝜏 1 +2 𝜏 𝑡−1
1 𝑡−1
0 , 𝑡<0
2𝑡 , 0≤𝑡<2
∴ 𝑦(𝑡) = −4𝑡 + 12 , 2 ≤ 𝑡 < 4
2𝑡 − 12 , 4 ≤ 𝑡 < 6
0 , 𝑡>6
HWQ. Find the convolution of the following signals. 𝒙 𝒕 = 𝒆−𝒂𝒕 𝒖 𝒕 , 𝒂 > 𝟎 and
𝒉 𝒕 = 𝒖(𝒕)
➢ The step response s[n] of a discrete-time LTI system is defined to be the response of
the system when the input is u[n]
➢ ie, s[n] = T{u[n]}
➢ The step response can be determined by 𝑠 𝑛 = ℎ[𝑛] ∗ 𝑢[𝑛]
∞ 𝑛
s n = ℎ 𝑘 𝑢 𝑛−𝑘 = ℎ 𝑘
𝑘=−∞ 𝑘=−∞
sn = ℎ𝑘
𝑘=−∞
𝑛
= (0.5)𝑘 𝑢[𝑘]
𝑘=−∞
𝑛
= (0.5)𝑘 1 − (0.5)𝑛+1
=
𝑘=0 1 − 0.5
➢ The step response s(t) of a continuous-time LTI system is defined to be the response
of the system when the input is u(t)
➢ ie, s(t) = T{u(t)}
➢ The step response can be determined by 𝑠(𝑡) = ℎ(𝑡) ∗ 𝑢(𝑡)
∞ 𝑡
s(t) = න ℎ 𝜏 𝑢 𝑡 − 𝜏 𝑑𝜏 = න ℎ 𝜏 𝑑𝜏
−∞ −∞
s(t) = න ℎ 𝜏 𝑑𝜏
−∞
𝑡
= න 𝑒 −𝑎𝜏 𝑢 𝜏 𝑑𝜏
−∞
𝑡
−𝑎𝜏 𝑡 1 − 𝑒 −𝑎𝑡
−𝑎𝜏 𝑒
= න𝑒 𝑑𝜏 = =
−𝑎 𝑜
𝑎
0
1. Commutative:
𝑥(𝑡) ∗ ℎ(𝑡) = ℎ(𝑡) ∗ 𝑥(𝑡)
2. Associative:
𝑥 𝑡 ∗ ℎ1 (𝑡) ∗ ℎ2 (𝑡) = 𝑥(𝑡) ∗ {ℎ1 (𝑡) ∗ ℎ2 (𝑡)}
Note:
x 𝑛 ∗ 𝛿 𝑛 − 𝑛0 = 𝑥[𝑛 − 𝑛0 ]
= 1 − 𝑎𝑛 𝑢 𝑛
Note:
x 𝑛 ∗ 𝛿 𝑛 − 𝑛0 = 𝑥[𝑛 − 𝑛0 ]
න ℎ 𝜏 𝑑𝜏 < ∞ or ℎ 𝑘 <∞
−∞ 𝑘=−∞
1. ℎ 𝑡 = 𝑒 𝑎𝑡 𝑢 𝑡 , 𝑎 < 0.
Take a = -2.
ℎ 𝑡 = 𝑒 −2𝑡 𝑢 𝑡
Since 𝑒 −2𝑡 is multiplied with 𝑢 𝑡 , it will only exist for positive values of t. Therefore
h(t)=0, t<0. ∴ Causal.
∞ −2𝜏 ∞
∞ 𝑒 1
For stability, −∞ ℎ 𝜏 𝑑𝜏 < ∞ න ℎ 𝜏 𝑑𝜏 = =
−∞ −2 𝑜
2
∞ ∞ ∞
න ℎ 𝜏 𝑑𝜏 = න 𝑒 −2𝜏 𝑢 𝜏 𝑑𝜏 = න 𝑒 −2𝜏 𝑑𝜏
−∞ −∞ 0 < ∞. ∴ Stable
2𝑘 𝑢[𝑘] = 2𝑘
𝑘=−∞ 𝑘=−∞
∞ ∞
1 𝑘 1
2−𝑘 = ( ) = =2<∞
2 1
𝑘=0 𝑘=0 1−
2
∴ Stable.
𝑘=−∞ ∞
∞ 2 1
𝑊𝑒 ℎ𝑎𝑣𝑒 𝑎𝑘 = , 𝑓𝑜𝑟 |𝑎| < 1
4𝑘 𝑢[2 − 𝑘] = 4𝑘 1−𝑎
𝑘=𝑜
𝑘=−∞ 𝑘=−∞ ∞
1 64
0 2 ℎ𝑘 = +4 + 42 = <∞
1 3
= 4𝑘 + 4𝑘 𝑘=−∞ 1−
4
𝑘=−∞ 𝑘=1
∴ Stable
1. ℎ 𝑡 = 𝑒 𝑎𝑡 𝑢 𝑡
∞
For stability, −∞ ℎ 𝜏 𝑑𝜏 < ∞
∞ ∞
න ℎ 𝜏 𝑑𝜏 = න 𝑒 𝑎𝜏 𝑢 𝜏 𝑑𝜏
−∞ −∞
∞
= න 𝑒 𝑎𝜏 𝑑𝜏
0
➢ The general representation of a discrete time LTI system is given by the difference
equation
𝑁 𝑀
1
Soln: Given initial conditions are 0. 𝑛 = 3, 𝑦 3 = 𝑥 3 + 𝑦 2
2
1 1 1 1
𝑦 𝑛 =𝑥 𝑛 + 𝑦 𝑛−1 =0+ . =
2 2 4 8
We have x[n]= δ 𝑛 = 1 𝑎𝑡 𝑛 = 0
∴ x 0 = δ[0]=1, Similarly when we substitute for all
1
For all other values of n, x[n]= δ 𝑛 =0 values of n , we get y[n]=( )𝑛
2
𝑛 = 0, 𝑦 0 = 𝑥 0
1
+ 𝑦 −1 =1-0 =1 Since the output only exists for
2 values for n≥ 0,
1 1
𝑛 = 1, 𝑦 1 = 𝑥 1 + 𝑦 0 = 0 + = 1/2 1 𝑛
2 2
ℎ 𝑛 = 𝑦 𝑛 = ( ) 𝑢[𝑛]
1 1 1 2
𝑛 = 2, 𝑦 2 = 𝑥 2 + 𝑦 1 = 0 + . ( ) = 1/4
2 2 2
Downloaded from Ktunotes.in
Correlation of Signals
𝑟 𝜏 = න 𝑥1 𝑡 𝑥2 𝑡 − 𝜏 𝑑𝑡
−∞
∞
𝑟[𝑙] = 𝑥1 𝑛 𝑥2 [𝑛 − 𝑙]
𝑛=−∞
➢ 𝑙 𝑜𝑟 𝜏 is the lag (shift) parameter.
➢ Correlation is of 2 types – Auto correlation & Cross correlation
➢ It is the measure of similarity of one signal with the time shifted version of the
same signal.
➢ Auto Correlation of a signal x 𝑡 is defined as
∞
𝑟𝑥𝑥 𝜏 = න 𝑥 𝑡 𝑥 𝑡 − 𝜏 𝑑𝑡
−∞
➢ It is the measure of similarity of one signal with the time shifted version of the
other signal.
➢ Cross Correlation between a signal x 𝑡 and y(t) is defined as
∞
𝑟𝑥𝑦 𝜏 = න 𝑥 𝑡 𝑦 𝑡 − 𝜏 𝑑𝑡
−∞
∞ ∞
𝑟𝑦𝑥 0 = 𝑦 𝑛 𝑥 𝑛 = 𝑟𝑥𝑦 0
𝑛=−∞
Soln: ∞ ∞
𝑟𝑥𝑦 𝑙 = 𝑥 𝑙 ∗ 𝑦 −𝑙 = 𝑥 𝑘 𝑦 −(𝑙 − 𝑘) = 𝑥 𝑘 𝑦 𝑘 − 𝑙
𝑘=−∞ 𝑘=−∞
𝑟𝑥𝑦 𝑙 = 𝑥 𝑘 𝑦 𝑘 − 𝑙
𝑘=−∞
𝑟𝑥𝑦 −2 = 𝑥 𝑘 𝑦 𝑘 + 2
𝑘=−∞
=3
𝑟𝑥𝑦 −1 = 𝑥 𝑘 𝑦 𝑘 + 1
𝑘=−∞
= 11
𝑟𝑥𝑦 0 = 𝑥 𝑘 𝑦 𝑘
𝑘=−∞
= 13
𝑟𝑥𝑦 1 = 𝑥 𝑘 𝑦 𝑘 − 1
𝑘=−∞
=7
𝑟𝑥𝑦 2 = 𝑥 𝑘 𝑦 𝑘 − 2
𝑘=−∞
=2
∞ ∞
𝑟𝑥𝑦 𝑙 = 𝑥 𝑙 ∗ 𝑥 −𝑙 = 𝑥 𝑘 𝑥 −(𝑙 − 𝑘) = 𝑥 𝑘 𝑥 𝑘 − 𝑙
𝑘=−∞ 𝑘=−∞
𝑟𝑥𝑦 𝑙 = 𝑥 𝑘 𝑥 𝑘 − 𝑙
𝑘=−∞
∞
= 𝑎𝑘 𝑎𝑘−𝑙
𝑘=0
∞
= 𝑎−𝑙 𝑎2𝑘
𝑘=0
−𝑙
1
𝑟𝑥𝑦 𝑙 =𝑎 . 2
−−−−− −(1)
1−𝑎
𝑟𝑥𝑦 𝑙 = 𝑥 𝑘 𝑥 𝑘 − 𝑙
𝑘=−∞
∞
➢ Orthogonality refers to the property that allows transmission of more than one
signal over a common channel with sufficient detection.
➢ Orthogonal signals are mutually independent signals.
➢ Discrete Domain: 2 signals 𝑥 = 𝑥1 , 𝑥2 , … . 𝑥𝑁 & 𝑦 = 𝑦1 , 𝑦2 , … . 𝑦𝑁 are
orthogonal if their dot product is zero.
𝑥. 𝑦 = 𝑥1 . 𝑦1 + 𝑥2 . 𝑦2 + ⋯ … + 𝑥𝑁 . 𝑦𝑁 = 0
➢ Continuous domain: If 2 signals x(t) & 𝑦(𝑡) are non periodic, then they are
∞
orthogonal if −∞ 𝑥 𝑡 . 𝑦 𝑡 𝑑𝑡 = 0
𝑇
➢ If the signals are periodic, then they are orthogonal if 0 𝑥 𝑡 . 𝑦 𝑡 𝑑𝑡 = 0 , where T
is the time period.
න 𝑥 𝑡 . 𝑦 𝑡 𝑑𝑡 = න 2𝑡 + 3 . 45𝑡 2 + 9𝑡 − 17 𝑑𝑡
−1 −1
1
90𝑡 4 153𝑡 3 10𝑡 2
= + + − 51𝑡
4 3 2 −1
= 0, 𝑜𝑟𝑡ℎ𝑜𝑔𝑜𝑛𝑎𝑙