You are on page 1of 10

Experiment # 06

Continuous Time Signals in Time Domain


Exercise Objective:
 To generate Continuous Time Graphical Form Signals in Time Domain using Tabular
Form Equations
Continuous Time Signal:
 A signal of continuous amplitude and time is known as a continuous-time signal or an
analog signal. This (a signal) will have some value at every instant of time. The
electrical signals derived in proportion with the physical quantities such as temperature,
pressure, sound etc. are generally continuous signals. Other examples of continuous
signals are sine wave, cosine wave, triangular wave etc.
Tabular Form:
A tabular form enables users to update multiple rows in a table at once from a single page.
You can use the Tabular Form Wizard to create a tabular form that contains a built-in
multiple row update process. This built-in process performs optimistic locking behind the
scenes to maintain the data integrity.

Graphical Form:
Graphical Representation is a way of analysing numerical data. It exhibits the relation
between data, ideas, information and concepts in a diagram. It is easy to understand and it
is one of the most important learning strategies. It always depends on the type of
information in a particular domain. There are different types of graphical representation.
Tabular Form Equation:
x(t) = {0 -4 ≤ t ≤ -1
{1 -1 ≤ t ≤ 0
{2 0≤t≤2
{0 2≤t≤4

x(t) = {0 -4 ≤ t ≤ -1
{0 -1 ≤ t ≤ 0
{1 0≤t≤2
{0 2≤t≤4
t1=-4:0.01:-1;
t2=-1:0.01:0;
t3=0:0.01:2;
t4=2:0.01:4;
t=[t1 t2 t3 t4];
x1=zeros(size(t1));
x2=ones(size(t2));
x3=2*ones(size(t3));
x4=zeros(size(t4));
x=[x1 x2 x3 x4];
subplot(3,1,1)
plot(t,x,'linewidth',3);
a1=zeros(size(t1));
a2=zeros(size(t2));
a3=ones(size(t3));
a4=zeros(size(t4));
a=[a1 a2 a3 a4];
subplot(3,1,2);
plot(t,a,'linewidth',3);
y=conv(x,a);
subplot(3,1,3);
plot(y,'linewidth',3);
Tabular Form Equation:
i) Square wave signal.
ii) Ramp signal.

x(t) = {0 -4 ≤ t ≤ -1
{1 -1 ≤ t ≤ 0
{2 0≤t≤2
{0 2≤t≤4
Ramp signal
t1=-4:0.01:-1
t2=-1:0.01:0
t3=0:0.01:2
t4=2:0.01:4
t=[t1 t2 t3 t4]
x1=zeros(size(t1))
x2=ones(size(t2))
x3=2*ones(size(t3))
x4=zeros(size(t4))
x=[x1 x2 x3 x4]
t5=0:1:2
r=t5
hold on
subplot(1,2,1)
plot(t5,r,'linewidth',3)
title('Ramp Signal')
grid on
subplot(1,2,2)
plot(t,x,'linewidth',3)
title('Square Wave Signal')
grid on

You might also like