Академический Документы
Профессиональный Документы
Культура Документы
S.F. Hsieh
Classifications of signals
1. Digital/analog: the amplitude is discrete(quantized) or not.
2. Continuous-/Discrete-time: (MATLAB commands: plot, stem)
Continuous-time signal: x(t), < t < , where the time-variable t is continuous.
10
12
14
16
x[n]
0.8
0.6
0.4
0.2
0
8
I-1
3. Deterministic/Random:
Deterministic signals:
periodic(Fourier series)
x(t) = x(t + T ), t
minimum T is the fundamental period.
aperiodic(Fourier transform)
|x(t)|2 dt
if x(t) is the voltage applied across a dummy load of one- resistor, then x2 (t) is the
power assumption (Watts). Integration of power over time is the total energy of the
signal, namely, E indicates the energy that can be extracted from the signal.
Continuous-time: T
R
Total energy over the time interval t1 t t2 is tt12 |x(t)|2 dt.
P 2
Discrete-time: total energy over the time interval n1 n n2 is nn=n
|x[n]|2 .
1
average power:
Z
1 T /2
|x(t)|2 dt
P lim
T T T /2
If x(t) is periodic, then its average power becomes
Z
1 T /2
|x(t)|2 dt
P =
T T /2
Definitions:
x(t) is an energy signal if it has a finite energy Ex < and its power Px = 0.
x(t) is a power signal if it has a finite power Px < , and energy Ex = .
Examples:
(a)
(b)
(c)
(d)
(e)
(f) A ramp signal f (t) = t and an everlasting exponential g(t) = eat are neither energy
nor power signals.
(g) Is x(t) = 10 a power or energy signal?
(h) What is the energy of a sinc function sinc(x) = sinxx ? (Parsevals thm in Chp 7s
Fourier transform can solve it easily.)
-1
-1
x(t)
A
A
- t
-2
A
A
@
@
2x(t)
-1
2. change of Time-variable: Assume that x(t) looks like
1
-1
x(t)
I-3
21
x(2t)
-
1
2
< 1, time-expansion:
x( 2t )
-2
This may seem to hurt your instinct. For justification, Let y(t) = x(2t). Choose a few ts
and plot y(t), we have y(0) = x(0)(still centered around the origin), y( 12 ) = x(2 21 ) = x(1),
and y( 12 ) = x(2 12 ) = x(1).
(b) time-reversal(inversion): x(t) = x(t)
1
x(t)
A
A
AA
t
-1
1
The right-hand-side is mirrored about the origin, and vice versa.
< 0, right-shifted(delayed):
x(t + )
x(t )
-
Again, this seems to be unbelievable. A mindful reader will not hesitate to play the same
game: Let y(t) = x(t 3). y(3) = x(3 3) = x(0), y(0) = x(0 3) = x(3), etc. From
which, she/he convinces herself/himself.
(d) Combined operation: x(t) = x(t + ) ,
[method 1]:
Let y(t) = x(t + ), i.e., advance/delay x(t) by to obtain y(t).
Let z(t) = y(t), i.e., compress/expand y(t) by .
As a check, z(t) = y(t) = x(t + ). The above procedure can change its order. BUT, be
careful!
[method 2]:
I-4
so that
x(t)
-1
x(t 3)
Compress by 2, x(2t 3)
-
(Check)
let x(2t 3) = x(0),
let x(2t 3) = x(1),
let x(2t 3) = x(2),
we have t = 3/2
we have t = 1
we have t = 5/2
Similarly,
Given x(t)
1
-1
x(t)
I-5
-4
x(t + 3)
-
-3 -2
EE
(Check)
let x(2t + 3) = x(0),
let x(2t + 3) = x(1),
let x(2t + 3) = x(2),
we have t = 3/2
we have t = 2
we have t = 1/2
Signal characteristics
1. Even/Odd
Even function(signal): x(t) = x(t), t, symmetric about the origin,
#c
#
c
#
c
b
b
(Fact) Every signal x(t) can be decomposed as a sum of even and odd signals: x(t) =
and xo (t) Od{x(t} x(t)x(t)
.
xe (t) + xo (t), where xe (t) Ev{x(t} x(t)+x(t)
2
2
2
A
A
A
x(t)
1
=
6
x (t)
l e
l
l
6
xo (t)
@
@
@
@
Sum of several continuous-time periodic signals may not be period, depending on the relationship
among their fundamental periods.
I-6
in Z transform
[Eulers formula]
ejt cos t + j sin t and ejt cos t j sin t
1 jt
1
cos t =
(e + ejt ) and sin t = (ejt ejt )
2
2j
10
5
0
5
10
15
5
t=5:0.01:5;
x=exp(0.5*t).*cos(2.7*pi*t);
subplot(2,1,1); plot(t,x)
10
smaller damping factor =0.3
larger frequency=4.2pi
5
0
5
y=exp(0.3*t).*cos(4.2*pi*t);
subplot(2,1,2);plot(t,y);
10
15
5
On the left-hand-side, < 0, est 0 as t , and the magnitude || controls the envelope
(damping factor); as || increases, the envelope decays faster.
Along the j-axis, controls the angular frequency of the rotating phasor.
I-7
HH
HH
HH
Rt
()d
1, t 0
0, t < 0
0
5. Unit ramp function: r(t) =
Rt
u()d
= tu(t):
0
[Ex] tu(t) 2(t 1)u(t 1) + (t 2)u(t 2)
HH
HH
HH
I-8
Impulse function
6.1
0, n 6= 0
1, n = 0
x
1
x
-1
[n]
x
0, n < 0
1, n 0
u[n]
1
x
-1
2. sampling property:
Pn
m= [m]
X
k
6.2
t
d
1
( ) =
u(t), a pulse with unit area and zero width, located at t = 0
dt
-
(t)
reducing
area = 1
-
I-9
Properties of (t):
R
1. sifting:
x(t) (t
t0 )dt = x(t0 )
6
(t t0 )
x(t0 ) (t t0 )
x(t)
x(t) (t t0 )dt =
= x(t0 )
R
2t (t
e
t0
x(t0 ) (t t0 )dt
= x(t0 )
Example:
t0
(t t0 )dt
3)dt = e6
x(t t0 )
(t t0 )
0
Pf. x(t) (t t0 ) =
t0
x( )(t t0 )d =
=
0
x( )( t + t0 )d = x(t t0 ).
(t) =
d
dt u(t).
Rt
( )d = u(t).
1
(at) = |a|
(t).
(t) = (t).
( )(t
R4
t=0 3(t
R4
t=2 (t
)d = (t).
2)dt = 3.
6)dt = 0.
I - 10
t0
Systems
dx(t) R t
[4x( )
dt
y( )]d .
4. Interconnection of systems:
(a) series(cascade):
- S1
- S2
(b) parallel:
- S1
6
?- S2
-6
(c) feedback:
- S
1
-
6
- S
2
S3 ?
Classification of Systems
1. Continuous-time or Discrete-time,
2. Analog or Digital,
3. Memoryless: the o/p of a memoryless system at time t0 depends only on its input at the same
time instant t0 . Memory is associated with storage of energy in physical systems and storage
registers in digital computers.
Delay, capacitor, and inductor elements are not allowed for a memoryless system. Thus, a
resistive voltage divider is a memoryless system, while an RC lowpass circuit has memory.
[Ex] y[n] = x2 [n] + x[n], y(t) = 10x(t): memoryless.
2
vi (t) is also memoryless
A voltage divider: vo (t) = R1R+R
2
t
x( )d, y[n] = x[n 2], y[n] = (x[n 1] + x[n] + x[n 1])/3: with memory.
[Ex] y(t) =
An electric example isR a current source i(t) connected to a capacitor, then the voltage across the
t
i( )d .
capacitor is v(t) = C1
I - 11
4. Invertible: A system is invertible if the cascade of this system with its inverse system yields an
output which is the input to the first system.
x[n] system y[n] inverse system w[n] x[n]
Examples:
(a) System: y(t) = 2x(3t); its inverse system: w(t) = 12 y( 3t )
(b) A running-sum system: y[n] =
tion: w[n] = y[n] y[n 1].
Pn
k= x[k];
i/p: x(t)
causal
o/p: y2 (t)
-
%L
%
L
L
H%
#H
#
Noncausal
-2
"
"
LL
e
e
Later, we will show that, for a causal LTI system, its impulse response h(t) = 0, t < 0.
[Ex] y[n] = x[n] x[n + 1], and y(t) = x(t + 1) are noncausal, because the output y(2) at present
time t = 2 depends on the future input x(3) at t = 3.
A memoryless system is also causal.
All physical systems with time as the independent variable are causal. There are practical
systems that are not causal:
Physical systems for which time is not the independent variable e.g., the independent
variable is (x, y) as in an image. y[n] = (x[n 1] + x[n] + x[n + 1])/3, take the average
of three neighboring data.
Processing of signals is not in real time, e.g., the signal has been recorded or generated
in a computer.
6. Stable: A system is stable in the sense of bounded-input, bounded-output(BIBO) if the
output y(t) is bounded for a bounded input x(t), i.e., if |x(t)| B1 , t, then B2 < ,
|y(t)| B2 ,Rt. For a stable linear-time-invariant system, its impulse response must be absolutely
and
then
I - 12
- Linear
Suppose y1 (t) = H[x1 (t)], and y2 (t) = H[x2 (t)]. If the output due to the input a1 x1 (t) + a2 x2 (t)
is equal to a1 y1 (t) + a2 y2 (t) then the system H is linear, i.e., check if
?
Time
Invariant
x(t)
y(t)
then
x(t )
Time
Invariant
y(t )
A A
A A
x(t)
y(t)
d
An RC lowpass filter with constant resistance R and C is time-invariant: RC dt
y(t) + y(t) =
x(t). If the resistance R(t), changes with time, then the system becomes time-varying:
d
y(t) + y(t) = x(t), because its system parameters are not constant over time.
R(t)C dt
(b) Time-invariance does not allow x(2t), x(t), tx(t).
(c) Ex. A compressor with y[n] = x[M n] is not TI because y[n n0 ] = x[M (n n0 )] 6=
x[M n n0 ]. Be careful in distinguishing x[M (n n0 )] and x[M n n0 ].
LTI systems
1. Many man-made and naturally occurring systems can be modeled as linear time-invariant (LTI)
systems. Ex. resistors(R), inductors(L), capacitors(C).
2. A fixed-coefficient linear differential equation (made up from RLC components) are LTI. (CT)
3. A fixed-coefficient linear difference equation (delay, gain, adder) are LTI. (Discrete-Time)
4. (Ex) Is the following system linear-time-invariant?
y(t) = x(t)g(t)
where x(t) and y(t) denote the input and output, respectively.
Linear, yes. Let y1 (t) x1 (t)g(t) and y2 (t) x2 (t)g(t). Suppose
x(t) = a1 x1 (t) + a2 x2 (t)
then
H[x(t)] = x(t)g(t)
= a1 x1 (t)g(t) + a2 x2 (t)g(t)
= a1 y1 (t) + a2 y2 (t)
I - 13
9.1
1.
Examples
d
dt y(t)
+ 10y(t) = x(t) is a causal LTI system. y[n] = 0.9y[n 1] + x[n] is causal LTI, too.
dn1
dn
dtn y(t) + an1 dtn1 y(t) + + a0 y(t)
2. In general,
system.
3. y(t) =
x( )h(t
d
d
= bm dt
m x(t) + + b1 dt x(t) + b0 x(t) is a linear
:
=
=
x
( )h(t )d
x( )h(t )d
=
y(t ) =
4. (a) y(t) =
(b) y[n] =
(c) y(t) =
y[n] =
(d) y(t) =
x(t
Zs
x(s)h(t s)ds
x( )h(t )d, from the definition of y(t) =
x( )h(t
Pn
Rt
m] =
m: x[n
m: x[m]h[n
x(t
x( )h(t )d
m: x[m]h[n
Rt
t
0
[Pf] Say h(t) = 1, then y(t) =
x(t )d we can see that y(0) =
x( )d =
x(u)du,
which
means
that
y(0)
is
the
integral
of
future
input
x(0+)
upto
x().
Non0
causal!
5. (a)
d
dt y(t)
d
d
y1 (t) + 2 y2 (t) + t[1 y1 (t) + 2 y2 (t)] = 1 x1 (t) + 2 x2 (t)
dt
dt
d
[1 y1 (t) + 2 y2 (t)] + t[1 y1 (t) + 2 y2 (t)] = 1 x1 (t) + 2 x2 (t)
dt
Thus the response to the input 1 x1 (t) + 2 x2 (t) is 1 y1 (t) + 2 y2 (t).
(b)
d
dt y(t)
I - 14
9.2
Questions
1. If some system: x(t) y(t) is linear, and another system: y(t) z(t) is linear, too, Is the
cascaded system x(t) z(t) linear?
2. If some system: x(t) y(t) is linear, and another system: x(t) z(t) is linear, too, Is the
parallel system x(t) w(t) = y(t) + z(t) linear?
3. Redo the above two questions, when the systems are time-invariant.
4. Is the cascaded connection of two nonlinear systems is nonlinear?
5. (Oppenheim et al.) Consider three systems with the following input/output relationships:
system 1 : y[n] =
x[n/2], n : even
0,
n : odd
1
1
system 2 : y[n] = x[n] + x[n 1] + x[n 2]
2
4
system 3 : y[n] = x[2n]
Suppose these systems are cascaded in series. Find the input/ouput relationship for the overall
cascaded system. Is it linear? Is it time-invariant?
6. Can you generalize the definitions of linearity and time-invariance for a system processing 3D
signals with 2 independent variables: s(t1 , t2 ), where s = [s1 , s2 , s3 ]?
I - 15