Lab Session 04
Lab Session 04
LAB SESSION 04
TIME SHIFTING OF A SIGNAL
Remarks: ……………………………………………
1
COMMUNICATION SYSTEM LAB
THEORY:
Time shifting of signals is probably the most important one, and most widely
used amongst all basic signal operations. Its generally used to fast-forward or
delay a signal, as is necessary in most practical circumstances. Time shifting is
mathematically expressed as, Y(t) = X(t - t 0). Where X(t ) is the original signal,
and t0 represents the shift in time.
For a signal X(t) if the position shift t0> 0. Then the signal is said to be right
shifted or delayed. In the same manner, if t0< 0, implies the signal is left shifted
or delayed. This has been explained diagrammatically in the figure below.
Where the original signal fig(a) is right shifted and also left shifted in figure (b)
and (c) respectively.
PROGRAM:
2.5
1.5
0.5
0
0 5 10
>> subplot(1,3,2)
2
COMMUNICATION SYSTEM LAB
>> stem(a,x,'g')
3 3
2.5 2.5
2 2
1.5 1.5
1 1
0.5 0.5
0 0
0 5 10 0 5 10
>> subplot(1,3,3)
>> stem(b,x,'y')
3 3 3
2 2 2
1 1 1
0 0 0
0 5 10 0 5 10 -5 0 5