CH1 - Basic Signals and Operations PDF
CH1 - Basic Signals and Operations PDF
CHAPTER 1
BASIC SIGNALS
4
These signals comes from different sensors from the real world like:
Temperature, speed, Light, Speech, Sound, Visual Images, Pressure,
Vibration, movement . . . etc.
5
2. SIGNALS AND CLASSIFICATION OF SIGNALS
A signal is a function representing a physical quantity or variable.
It contains information about the behaviour or nature of this
quantity. For instance, in a the electrical circuit, the signal may
represent the voltage across the element or the current flowing in.
Mathematically, a signal is represented as a function of an
independent variable t. Usually t represents time. Thus, a signal is
denoted by x(t). It is called “time domain signal”.
For example:
and
𝟏 𝟏
𝐓= 𝐟=
𝐟 𝐓
and
𝟏 𝟏
𝐓= 𝐟=
𝐟 𝐓
10
Signals Phase Shift (F)
11
Classification of Signals:
The time domain signals can be classified by different ways as following:
12
Continuous-Time Vs Discrete-Time Signals:
A signal x(t) is a continuous-time signal if t is a continuous variable. If t is a
discrete variable, then it is defined at discrete times, and called discrete-time
signal x(n) . Since a discrete-time signal is defined at discrete times.
2. Switching Technique:
14
Sampling
Process
15
Analogue Vs Digital Signals:
If a time signal can take on any value in an interval, then the signal x(t)
is called an analogue signal. If a signal can take on only a finite number of
distinct values, then we call this signal a digital signal.
16
Deterministic Vs Random Signals:
Random signals are those signals that take random values at any given
time and then it must be characterized statistically.
17
Even Vs Odd Signals:
A signal x ( t ) or x(n) is referred to as an even signal if
x ( - t ) = x ( t ) continuous
x ( - n ) = x ( n ) discrete
18
Different examples of Even Vs Odd Signals:
19
Periodic Vs Nonperiodic Signals:
A time signal is said to be periodic with period T if it repeats itself at
each time T for which: x(t + T ) = x ( t ) for all t
20
Famous Types of Periodic Signals
21
Energy versus Power Signals:
22
Real versus Complex Signals:
A signal is a real signal if its values are real numbers. A signal is a
complex signal if its value is a complex number. A general complex signal
x(t) is a function of the form:
x ( t ) = x1 ( t ) + i x2 ( t )
The Real signal can be represented graphically by only ONE plot which
is called (Magnitude Characteristics c/cs). Denoted by |x(t)|.
23
24
Basic Time Signals (Functions):
25
1. Impulse Signal (Delta Function):
The unit impulse function d(t), also known as the Dirac delta function,
plays a central role in system analysis. It is defined as following:
26
2. Unit Step Signal:
The unit step function u(t), also known as the Heaviside unit function, is
defined as:
27
The Relation between Impulse function and Unit step Function
29
30
Relation between ramp function and unit step function:
𝐝𝐫(𝐭)
𝐮 𝐭 =
𝐝𝐭
𝑟 𝑡 = න 𝑢 𝑡 − 𝜏 𝑑𝜏
𝜏=0
31
4. Exponential Signal:
The exponential function x(t)= exp (at) or x(t) = eat , a is real number
32
MATLAB: Write a MATLAB program to simulate the following functions:
100
0.5
50
0 0
0 20 40 60 0 20 40 60
x 10
4
y(t)=exp1/t y(t)=exp -1/t
3 1
2
0.5
1
0 0
0 20 40 60 0 20 40 60 33
5. Sinusoidal Signal:
The Sinusoidal function could be sine or cosine.
Then: x(t) = Asin(wt+F) or x(t) = Acos(wt+F)
A: Amplitude (Magnitude),
w: Angular Frequency (rad/sec), where w = 2pf
F: Phase shift (rad)
If A = 1 and F = 0, then x(t) = sin(wt) and x(t) = cos(wt) , as shown
below:
34
Complex Exponential Signals:
Euler's Formula:
1 𝑗𝜃
𝑐𝑜𝑠𝜃 = [𝑒 + 𝑒 −𝑗𝜃 ]
2
1
𝑠𝑖𝑛𝜃 = [𝑒 𝑗𝜃 − 𝑒 −𝑗𝜃 ]
2𝑗 35
Special Angles
q (Rad) q (Rad) sin cos
0 0 0 1
p/2 90 1 0
p 180 0 -1
3p/2 270 -1 0
2p 360 0 1 36
Homework (HW):
If Z = 3+j4 , find Z in polar and exponential
If A = 3-j4 , find A in polar and exponential
If B = j4 , find B in polar and exponential
If M = -j4 , find M in polar and exponential
If C = 3 , find C in polar and exponential
If D = -3 , find D in polar and exponential
If E = j4 , find E in polar and exponential
If F = 10 , find F in Rectangular and exponential
If N = 5 , find N in Rectangular and exponential
Find: Z+A , A-Z , B+A , C+B , Z*A , Z/A , F+N , F/N , G*H , H/G , G+A , G*F ,
37
BASIC OPERATIONS ON SIGNALS: there are THREE types of operations:
1. SHIFT OPERATIONS:
• Time Shift [ DELAY or ADVANCE]
• Magnitude Shift [ UP or DOWN]
2. SCALE OPERATIONS:
• Time Scale [ EXPAND or COMPRESS]
• Magnitude Scale [ AMPLIFY or ATTENUATE (shrink)]
3. FLIP OPERATIONS:
• Time Flip [HORIZONTAL FLIP]
• Magnitude Flip [ VERTICAL FLIP}
x(t ± b)
39
Magnitude Shift [ UP or DOWN]
x(t) ± c
40
Time Scale [ Compress or Expand]
x(mt)
41
Note:
To achieve the time scale, the important points in time domain (points where
the signal value changes) have to be divided by the value of the time scaling
coefficient “m”.
In the case (when the signal does not start from t = zero) for example: start at
t = ±1 , then we can not divide the important points by alpha since this will
change the start point value and the new signal will be delayed or advanced
its start point and this will be wrong.
The most important thing here is the total width of the original signal ( in the
previous example is 4) must be divided on m =2 to get the new compressed
width that is 2 (i.e. half of original one). then all sub-widths or intervals of the
signal will be also be half of their corresponding in original. In Expanding, these
time points must be divided on m =0.5 to get the new expanded width that is
8 (i.e. doubled of original). then all sub-widths of the signal will be also
doubled.
42
43
Magnitude Scale [Magnify or Shrink]
ax(t)
44
Flip Operations (Horizontally or Vertically)
45
Magnitude Scale Time Scale
coefficient “a” coefficient “m”
Magnitude Shift
coefficient “c”
Time Shift
coefficient “b”
46
Construction of other Signals using basic signals:
Other Signals can be got by applying one or more of the previous
operations on the basic signals as shown in the following examples:
Ex:
Plot the following signals x(t)=d(t-1), x(t)=d(t-2), x(t)=d(t+2), x(t)=3d(t-4)
47
Ex:
48
Ex: Draw the following signals:
x(t)= u(t-1), x(t)= u(t+2), x(t)= 2u(t-4), x(t)=-3u(t+2), x(t)=2u(-t+1), x(t)=-u(-t-1)
49
Ex: Draw the following signals: x(t)= r(t-1), x(t)=r(t+2), x(t)= 2r(t) , x(t)= -r(t)
50
Ex: Draw the following Ex: Draw the following
signal: x(t)=u(t) + u(t-1) signal: x(t)=u(t) + 2u(t-1)
51
Ex: Draw the following signals
x(t)= u(t) + 2u(t-2) -3u(t-4)
52
Ex: Draw the following signal:
x(t)= u(t+2) - u(t-2)
53
Ex: Write the mathematical functions of the signals x(t) and h(t) shown
below:
Sol:
x(t)= 2u(t+2)-u(t-2) –u(t-4) h(t)=-2u(t+1)+3u(t-1)-u(t-4)
54
Ex: Draw the following signal:
if x1(t)= u(t) - u(t-4) and x2(t)= 2u(t-1) -2u(t-2),
Find and plot x1(t) + x2(t)
Sol:
f(t) = x1(t)+x2(t)= u(t)+2u(t-1)-2u(t-2)-u(t-4)
55
Ex: Draw the following signals: x (t)= sin(wt) [u(t-2) – u(t-5)]