Professional Documents
Culture Documents
of ECE, KL University
KL University, Vaddeswaram,
Dept. of ECE,
Signal Analysis (15 ES 2002)
Lesson-1b Fundamentals of Signals
1
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
Then x(t T0 ) 2 cos 3(t T0 )
4
3 4
2 cos 3(t 2 ) 2 cos (3t 2 )
4
2 cos 3t x(t )
4
Sinusoidal signal 3cos(2 t ) and unit step function u (t ) , resulting the given signal is right
sided signal. Hence the given signal is not periodic signal.
(c) The given signal is modified as
x(t ) je j10t j cos10t j sin10t sin10t j cos10t which is a periodic signal with
period 0 10 rad/sec, or T 0 2 .
10 5
j (10t ) T 0 2
x (t ) je j10t e 2
. 10 5
Testing periodicity: A signal is said to be periodic if the condition x(t T0 ) x(t ) is
satisfied, where T0 is the period of the signal. Here T0 sec.
5
Then x(t T0 ) je j10(t T0 ) je j10t e j10T0 je j10t e j10 5
je j10t e j10 5 je j10t e j 2 je j10t x(t )
Therefore the given signal is periodic signal with period T0 sec.
5
2
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
(d) Given that x(t ) 2e(t 1) . The given signal can be written as
x(t ) 2e(t 1) 2 et 0.7358 et .
e
Since the periodicity condition is not satisfying, the given signal is aperiodic signal.
Ex2: Consider a signal x(t ) 1.2 cos(10 t ) .
4
(i) Check whether this signal is periodic signal or not. If it is periodic signal, identify the
amplitude, frequency and phase components.
(ii) Let y (t ) x 2 (t ) . Check whether this signal is periodic signal or not. If it is periodic
signal, identify the amplitude, frequency and phase components. Comment on the
results
Ans: (i) Given that x(t ) 1.2 cos(10 t ) . By comparing with standard sinusoidal
6
equation, A cos( 0t ) we found that the given signal is a periodic signal and its
F0 5 Hz or T0 1 1 0.2 sec. Further the signal amplitude is 1.2 and phase is rad.
F0 5 4
2
Then y (t ) x 2 (t ) 1.2 cos(10 t )
6
2
y (t ) 1.44 1 1 cos(2(10 t ))
6 0.77 1 cos(20 t 3 )
0.77 0.77 cos(20 t )
3
The results are illustrated below
3
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
We know that sin(t 2 ) sin t and cos(t 2 ) cos t , and are periodic signals if
they are considered separately. On the other hand for t 0 and t 0 , the signal x(t ) does
not repeat itself for every internal length of 2 , And also there is a discontinuity at the origin.
Hence x(t ) not a periodic signal.
Ex4: Determine whether the following signals are periodic signals? If so, determine the
fundamental periods.
T1 and T2 2 . 1 7 7 .
T
2 7 T2 2 2 4
Therefore x(t ) is periodic with period 4T1 or 7T2 .
(b) From the given signal x(t ) cos t sin 2t , we can observe that T1 2 and T2 2 .
(c) From the given signal x (t ) 2sin 2 t 3cos 2 t , we can observe that T1 3 and
3 5
T2 5 . Then 1 3 which is irrational. Hence the given signal is not periodic signal.
T
T2 5
Exercise Questions:
1. Express the following signals in the form x (t ) A cos(2 F0t )
(iii) Find real, positive constants A and for all real t such that
2 cos(10t ) sin(10t / 3) A cos(10t )
2. Consider the following signals
x(t ) 0.83cos(400 t / 5) and g (t ) 1.2sin(600 t / 3) .
(a) Justify that these signals are periodic signals. Identify the amplitude, frequency and
phase components of these signals.
(b) Let a new signal is generated by y (t ) x(t ) g (t ) . Test whether this signal is periodic
signal. If so, find the fundamental frequency.
(c) Let a new signal is generated by z (t ) x(t ) g (t ) . Test whether this signal is periodic
signal. If so, find the fundamental frequency.
4
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
(d) Let a new signal is generated by p (t ) x(t ) x(t ) . Test whether this signal is periodic
signal. If so, find the fundamental frequency.
(e) Let a new signal is generated by m(t ) g (t ) g (t ) . Test whether this signal is periodic
signal. If so, find the fundamental frequency.
(f) Let a new signal is generated by q(t ) x3 (t ) . Test whether this signal is periodic
signal. If so, find the fundamental frequency.
3. Express the real part of each of the following signals in the form Ae at cos(t ) ,
4. Determine whether the following signals are periodic signals or aperiodic signals. In the
case of periodic signals, determine the fundamental periods.
(a) 2 cos(3t ) (b) 3cos(2 t )u (t ) (c) je j10t (d) 2e(at 1) (e) a sin(4t ) b cos(7t )
4
(f) 2 sin 2 t 3cos 2 t (g) x(t ) 4 cos 3 t 2 cos 8 t
3 5 2 2
5. Let x (t ) be a continuous-time signal, and let y1 (t ) x (2t ) and y2 (t ) x t . 2
Consider the following statements:
(a) If x (t ) is periodic, then y1 (t ) is periodic.
For each of these statements, determine whether it is true, and if so, determine the rela-
tionship between the fundamental periods of the two signals considered in the statement.
If the statement is not true, give the reasons.
6. Let x (t ) e j 2t and y (t ) e j t , and consider their sum z (t ) x(t ) y(t ) , and their
product w(t ) x(t ) y (t ) . Determine if z (t ) and w(t ) are periodic, and if so, find their
periods.
5
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
x(t ) A sin(0 t ), 0 2 1 or T 2 .
T
x (t nT ) A sin( t n 2 ) A sin t x (t ) .
T 2 2 2 2
T 0 2 0
Power P 1 | x(t ) |2 dt 1 A2 sin 2 t dt A 1 (1 cos 2t ) dt A watts .
2 0 2 2
Ex2: Determine whether a signal is shown below is an energy signal or power signal.
Determine its value.
1 T 1 T 1 T T
0 T 1 Watts
T 2 T 2 T 2 2
6
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
t , 0 t 1
x(t ) 2 t , 1 t 2
0,
Otherwise
Classify whether this signal is power or energy signal, and find its value. Suppose
now this signal is shifted right side by 2 units (i.e., x(t 2) ). Find the new signals
energy or power?. Are there any changes in the value of power or energy calculated?
Give the reasons.
2. Determine the power for each of the following signals.
(i) 5 10 cos(100 t / 3) (ii) 10 cos(100 t / 3) 16sin(100 t / 5)
(iii) (10 2sin 3t ) cos10t (iv) 10 cos 5t cos10t (v) e jat cos 0t (vi) u (t ) (vii) r (t )
7
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
8
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
x = zeros(size(t));
figure(); set(gca,'fontsize',14);
% Original Signal
subplot(4,1,1);
plot(t, x,'r','LineWidth',3);
title('Sawtooth Pulse');axis([-1.5 1.5 -0.1 1.2]); grid on;
xlabel('time ----->');ylabel('Amplitude ----->');
% Reflected signal
subplot(4,1,2);
plot(t, xr,'b','LineWidth',3);
title('Reflected Signal');axis([-1.5 1.5 -0.1 1.2]); grid on;
xlabel('time ----->');ylabel('Amplitude ----->');
% Even components
subplot(4,1,3);
plot(t, xe,'m','LineWidth',3);
title('Even Components');axis([-1.5 1.5 -0.1 0.6]); grid on;
xlabel('time ----->');ylabel('Amplitude ----->');
% Odd components
subplot(4,1,4);
plot(t, xo,'k','LineWidth',3);
title('Odd Components');axis([-1.5 1.5 -0.6 0.6]); grid on;
xlabel('time ----->');ylabel('Amplitude ----->');
9
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
Exercise Questions:
1. Determine and sketch the even and odd parts of the signals defined below:
2 cos(4t ), t 0
(i) x(t ) u (t ) (ii) x(t ) sin 0t (iii) x(t ) e 2t u (t ) (iv) x(t )
0, Otherwise
2. Determine and sketch the even and odd parts of the signals shown below:
figure();
set(gca,'fontsize',12);
plot(t, x,'m','LineWidth',3);
title('x1(t) = t[u(t)-u(t-2)]');
axis([0 3 -0.1 2.5]); grid on
Signal representation in terms of step functions:
x(t ) x1 (t ) x2 (t )
u (t 1) u (t 2) (t 1){u (t 1) u (t 2)}
t{u (t 1) u (t 2)}
clear all; close all; clc;
t = 0:0.001:6;
x1 = us(t,1)-us(t,2);
% x2 = (t-1).*us(t,1);
x2 = (t-1).*(us(t,1)-us(t,2));
x = x1 + x2;
figure();
set(gca,'fontsize',12);
subplot(3,1,1); plot(t,
x1,'b','LineWidth',3);
title('u(t-1)-u(t-2)'); axis([0 3 -0.1
1.5]);% axis square
subplot(3,1,2); plot(t,
x2,'m','LineWidth',3);
title('(t-1)[u(t-1)-u(t-2)]');axis([0 3
-0.1 1.5]);% axis square
subplot(3,1,3); plot(t, x, 'k','LineWidth',3);
title('x(t)=t[u(t-1)-u(t-2)]');axis([0 3 -0.1 2.3]);% axis square
Method2: Multiplication of two signals
x1 (t ) t{u (t ) u (t 2)}
x 2 (t ) u (t 1) u (t 2)
x(t ) x1 (t ) x 2 (t )
t u (t ) u (t 2)u (t 1) u (t 2)
t[u (t )u (t 1) u (t )u (t 2)
u (t 1)u (t 2) u (t 2)u (t 2)
t[u (t 1) u (t 2)]
t = 0:0.001:6;
x1 = (t).*(us(t,0)-us(t,2));
x2 = us(t,1)-us(t,2);
% x = x1 .* x2;
x =t.*(us(t,1)-us(t,2));
figure();
set(gca,'fontsize',12);
subplot(3,1,1); plot(t, x1,'b','LineWidth',3);
title('x1(t) = t[u(t)-u(t-2)]'); axis([0 3 -0.1 2.5]);% axis square
subplot(3,1,2); plot(t, x2,'m','LineWidth',3);
title('x2(t) = u(t-1)-u(t-2)');axis([0 3 -0.1 1.5]);% axis square
subplot(3,1,3); plot(t, x, 'k','LineWidth',3);
title('x(t) = x1(t)x2(t)');axis([0 3 -0.1 2.51]);% axis square
11
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
Ex2: Consider a triangular pulse having unit height and two units width centered at origin.
Express this signal in (a) functional form (ii) step functions. Then sketch and label the
following signals.
(i) y1 (t ) x(2t ) and (ii) y 2 (t ) x(t / 2)
t = -3:0.001:3;
figure();
12
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
subplot(3,1,1);
set(gca,'fontsize',12);
plot(t, x,'m','LineWidth',3);
title('Triangular Pulse');
axis([-3 3 -0.1 1.2]); grid on;
subplot(3,1,2);
set(gca,'fontsize',12);
plot(t, x1,'b','LineWidth',3);
title('Compressed Signal');
axis([-3 3 -0.1 1.2]); grid on;
subplot(3,1,3);
set(gca,'fontsize',12);
plot(t, x2,'r','LineWidth',3);
title('Expanded Signal');
axis([-3 3 -0.1 1.2]); grid on;
y = zeros(size(t)); % Initialization
i = find((t>-1) & (t<1));
y(i) = 1; % x(t) = 1, -1 < t < 0
i = find((t>0) & (t<1));
y(i) = -t(i)+1; % x(t) = -t+1, 0 < t < 1
Then the following Matlab code is written for the following operations
(a ) x(t 1) (b) x(t 1) (c) x(2t ) (d ) x(2t 1) (e) x( 2t 1)
clear all; close all; clc;
t = -3:0.001:3;
y1 = sr(t);
y2 = sr(t-1);
y3 = sr(t+1)
y4 = sr(2*t);
y5 = sr(2*t-1);
y6 = sr(-2*t+1);
figure();
subplot(2,3,1);plot(t, y1,'b','LineWidth',3);axis([-3 3 -0.2
1.2]);title('x(t)');
13
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
Ex4: Consider the rectangular pulse x(t ) of unit amplitude and width of 2 time units.
Find y (t ) x(2t 3) and sketch. Do the following and comment the results.
(i) First shift the signal left by 3 units and then scale by 2 in time. The resultant signal is
referred to as y1 (t ) .
(ii) Now first scale the signal in time by 2 and then shift left by 3 units. The resultant signal
is referred to as y 2 (t ) .
Ans: (a) The procedure rule for time shifting and scaling is first apply time shift the signal
and then perform time scaling.
(b) Suppose next that we purposely do not follow the precedence rule; that is, we first apply
time scaling, followed by time shifting. The results are shown below, does not agree with
the above results.
Comments: We observed that the results obtained above two procedures are not equal.
The reason is that the time shifting and time scaling operations should be performed in a
proper order. The proper order is based on the fact that the scaling operation always
replaces ‘ t ’ by ‘ at ’, while shifting operation always replaces ‘ t ’ by ‘ t t0 ’. Hence the time
shifting operation is performed first and then time scaling operation will be performed later.
14
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
Exercise Questions:
(i) First shift the signal left by 3 units and then scale by 2 in time. The resultant signal is
referred to as y1 (t ) .
(ii) Now first scale the signal in time by 2 and then shift left by 3 units. The resultant
signal is referred to as y 2 (t ) .
Check whether these two signals y1 (t ) and y 2 (t ) are equal or not. Give the reasons.
15
Dr. M. Venu Gopala Rao, Professor, Dept. of ECE, KL University
(i) First shift the signal left by 2 units and then fold the shifted signal. The resultant
signal is referred to as y 3 (t ) .
(ii) Now first fold the signal and then shift left by 2 units. The resultant signal is referred
to as y 4 (t ) .
Check whether these two signals y 3 (t ) and y 4 (t ) are equal or not. Give the reasons.
8. Consider a signal y (t ) shown below is a amplitude scaled, time shifted, folded and time
scaled version of a signal x(t ) . Determine and sketch the following. Develop Matlab codes.
Simulate and verify the results. (i) y (t ) (ii) y (t 2) (iii) y (t / 2 1) (iv) x(t ) (v) x( 2t ) (vi)
16