Signals and Systems 8
Signals and Systems 8
SJSU 1
Signals and Systems
Linear System Theory
EE 112 - Lecture Eight
Signal classification
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 2
Signal
A signal is a pattern of variation that carry
information.
Signals are represented mathematically as a function
of one or more independent variable
A picture is brightness as a function of two spatial
variables, x and y.
In this course signals involving a single independent
variable, generally refer to as a time, t are
considered. Although it may not represent time in
specific application
A signal is a real-valued or scalar-valued function of
an independent variable t.
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 3
Example of signals
Electrical signals like voltages, current and
EM field in circuit
Acoustic signals like audio or speech signals
(analog or digital)
Video signals like intensity variation in an
image
Biological signal like sequence of bases in
gene
Noise which will be treated as unwanted
signal
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 4
Signal classification
Continuous-time and Discrete-time
Energy and Power
Real and Complex
Periodic and Non-periodic
Analog and Digital
Even and Odd
Deterministic and Random
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 5
A continuous-time signal
Continuous-time signal x(t), the independent variable, t is
Continuous-time. The signal itself needs not to be continuous.
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 6
A continuous-time signal
x=0:0.05:5;
y=sin(x.^2);
plot(x,y);
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 7
A piecewise continuous-time signal
A piecewise continuous-time signal
0; 0 10
1; 10 20
( )
1; 20 25
2; 25 30
t
t
x t
t
t
s s
< s
=
s s
< s
< s
=
s s
< s
=
< <
+
( )
2
0 x t dt
< <
}
| |
2
0
n
x n
=
< <
}
2 1
n n n s s
| |
x n
| |
2
1
2
n
n n
E x n
=
=
| |
2
1
2
2 1
1
1
n
n n
P x n
n n
=
=
+
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 15
Power and Energy
Example 1:
The signal is given below is energy or power signal.
Explain.
This signal is energy signal
( )
1
2
2
0
1
1 1 1 9
lim lim 3 lim 9 lim 0
0 2 2 2 2
T
T T T T T
P x t dt dt t
T T T T
= = = = =
} }
( )
2 2
1
0
1
3 9 9
0
T
T
E x t dt dt t
= = = =
} }
( )
x t
( ) x t
3
0 1
t
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 16
Power and Energy
Example 2:
The signal is given below is energy or power signal.
Explain.
This signal is energy signal
| |
x n
| |
2
1
3
2
2
0
1 1 27
lim lim 3 lim 0
2 1 2 1 2 1
n
N N N
n n
P x n
N N N
=
= = = =
+ + +
| |
2
1
3
2
2
0
3 27
n
n n
E x n
=
= = =
| | x n
3
0 1
n
2
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 17
Real and Complex
A value of a complex signal is a complex number
The complex conjugate, of the signal is;
Magnitude or absolute value
Phase or angle
( )
x t
( ) ( ) ( )
( ) { } ( ) ( ) { } ( )
1 2
1 2
Where 1 Re Im
x t x t jx t
j x t x t x t x t
= +
= = =
( )
x t
( )
x t
-
( ) ( ) ( )
( ) { } ( ) ( ) ( ) { } ( ) ( )
1 2
1 1
Re Im
2 2
x t x t jx t
x t x t x t x t x t x t
j
-
- -
=
( ( = + =
( ) ( ) ( ) ( ) ( )
2 2
1 2
1
2
x t x t x t x t x t
-
= + =
( ) ( ) ( )
1
2 1
tan x t x t x t
=
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 18
Periodic and Non-periodic
A signal or is a periodic signal if
Here, and are fundamental period, which is the smallest
positive values when
Example:
( )
x t
| |
x n
( ) ( )
| | | |
0
0
; , any integer
; , any integer
x t x t mT t m
x n x n mN n m
= + =
= + =
o
T
o
N
1 m=
0
( ) cos( ); ;
2
o
x t A t t f
e
e u
t
= + < < =
0 0 0 0
0
0
( ) cos( [ ] ) cos( )
2
; 0,1, 2......
x t T A t mT A t
T m
e u e u
t
e
+ = + + = +
= =
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 19
Analog and Digital
Digital signal is discrete-time signal whose values belong
to a defined set of real numbers
Binary signal is digital signal whose values are 1 or 0
Analog signal is a non-digital signal
1 2
{ , ,..., }
N
a a a
[ ] ( ) 0 1;
n
x n x t or n = =
[ ] ( ) ; 1
n i
x n x t a i N = = s s
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 20
Even and Odd
Even Signals
The continuous-time signal /discrete-time signal
is an even signal if it satisfies the condition
Even signals are symmetric about the vertical axis
Odd Signals
The signal is said to be an odd signal if it satisfies the
condition
Odd signals are anti-symmetric (asymmetric) about
the time origin
( ) ( ); x t x t t =
( ) ( ); [ ] [ ]; x t x t t x n x n n = =
( ) x t
| |
x n
[ ] [ ]; x n x n n =
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 21
Even and Odd signals:Facts
Product of 2 even or 2 odd signals is an even signal
Product of an even and an odd signal is an odd signal
Any signal (continuous and discrete) can be expressed
as sum of an even and an odd signal:
( ) ( ) ( ); [ ] [ ] [ ]
( ) ( ) ( ) ( )
( ) ; ( )
2 2
[ ] [ ] [ ] [ ]
[ ] ; [ ]
2 2
e o e o
e o
e o
x t x t x t x n x n x n
x t x t x t x t
x t x t
x n x n x n x n
x n x n
= + = +
+
= =
+
= =
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 22
Complex-Valued Signal Symmetry
For a complex-valued signal
is said to be conjugate symmetric if it satisfies the
condition
where
is the real part and is the imaginary part;
is the square root of -1
1 2
( ) ( ) ( ) x t x t j x t = +
*
( ) ( ) x t x t =
1 2
*( ) ( ) ( ) x t x t j x t =
1
( ) x t
2
( ) x t
j
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 23
Deterministic and Random signal
A signal is deterministic whose future values can be
predicted accurately.
Example:
A signal is random whose future values can NOT be
predicted with complete accuracy
Random signals whose future values can be statistically
determined based on the past values are correlated
signals.
Random signals whose future values can NOT be
statistically determined from past values are
uncorrelated signals and are more random than
correlated signals.
( ) sin x t A t =
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 24
Deterministic and Random signal(contd)
Two ways to describe the randomness
of the signal are:
Entropy:
This is the natural meaning and
mostly used in system performance
measurement.
Correlation:
This is useful in signal processing by
directly using correlation functions.
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 25
Taylor series and Euler relation
General Taylor series
Expanding sin and cos
Expanding exponential
Euler relation
( ) ( ) ( )( ) ( )( )
( )
( )( ) 2
0
...
!
n
n
n
f a x a
f x f a f a x a f a x a
n
' '' = + + + =
3 5
sin ...
3! 5!
x x
x x = +
2 4
cos 1 ...
2! 4!
x x
x = +
2 3 4 5
1 ...
2! 3! 4! 5!
x
x x x x
e x = + + + + + +
( ) ( ) ( ) ( )
2 3 4 5
1 ...
2! 3! 4! 5!
jx
jx jx jx jx
e jx = + + + + + +
2 3 3 5
1 ... ... cos sin
2! 3! 3! 5!
jx
x x x x
e j x x j x
| | | |
= + + + = +
| |
\ . \ .
Signals and Systems Khosrow Ghadiri - EE Dept. SJSU 26
Example
The signal and shown below constitute the real and
imaginary parts of a complex-valued signal .
What form of symmetry does have?
Answer
is conjugate symmetric.
1
( ) x t
2
( ) x t
( ) x t
( ) x t
( ) x t
2
T
2
T
0
1
( ) x t