0% found this document useful (0 votes)
35 views3 pages

Lab Session 04

The document describes an experiment on time shifting signals in a communication systems lab. It discusses how time shifting a signal X(t) by t0 results in a new signal Y(t)=X(t-t0). If t0>0, the signal is right-shifted or delayed. If t0<0, the signal is left-shifted or advanced. The experiment demonstrates shifting a sample signal x(t) right by t0=3 and left by t0=-3 using MATLAB code. Plots of the original and time-shifted signals are shown.

Uploaded by

Mudassar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views3 pages

Lab Session 04

The document describes an experiment on time shifting signals in a communication systems lab. It discusses how time shifting a signal X(t) by t0 results in a new signal Y(t)=X(t-t0). If t0>0, the signal is right-shifted or delayed. If t0<0, the signal is left-shifted or advanced. The experiment demonstrates shifting a sample signal x(t) right by t0=3 and left by t0=-3 using MATLAB code. Plots of the original and time-shifted signals are shown.

Uploaded by

Mudassar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

COMMUNICATION SYSTEM LAB

LAB SESSION 04
TIME SHIFTING OF A SIGNAL

Name of Student: ……………………………………………………

Roll No.: …………………………………Section: …………………

Date of Experiment: ………………………………………………….

Report submitted on: …………………………………………………

Marks obtained: ……………………………………

Remarks: ……………………………………………

Instructor’s Signature: ……………………………...

DEPARTMENT OF ELECTRICAL ENGINEERING

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:

>> t=[1 2 3 4 5 6 7];


>> x=[0 1 2 3 2 1 0];
>> a=t+3;
>> b=t-3;
>> subplot(1,3,1)
>> stem(t,x,'r')
3

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.5 2.5 2.5

2 2 2

1.5 1.5 1.5

1 1 1

0.5 0.5 0.5

0 0 0
0 5 10 0 5 10 -5 0 5

You might also like