DSP Lecture4 - NU
DSP Lecture4 - NU
= S[X(t)]
Additivity
o T[x1(t) + x2(t)] = T[x1(t)] + T[x2(t)]
o x1(t) and x2(t) are two inputs
o x1(t) + x2(t) is a superposition (addition) of inputs
Linearity
Examples:
• y(x)= a x Linear
• y(x)= a x + b Nonlinear
Whenever the explicit relation between the input and the output of a
system is represented by a nonlinear expression the system is nonlinear
Linearity
• Squarer y(t ) = x² (t )
Answer: Nonlinear (in fact, fails both tests)
• Differentiation is linear
Homogeneity test:
Additivity test:
Linearity
• Integration
Homogeneity test
Additivity test
Answer: Linear
• Human hearing
Responds to intensity on a logarithmic scale
Answer: Nonlinear (in fact, fails both tests)
Time Invariance
Stable
Unstable
Systems Classification : Ex
Are the following systems
1. Memoryless, 2 Time-invariant, 3. Linear, 4. Causal, 5. Stable?
• Problems from Oppenheim
- P1.27, P1.28 and P1.31
Representation of Systems by Differential
Equations
• Given a dynamic system represented by a linear differential
equation with constant coefficients:
▫ N initial conditions:
▫ Input x(t)=0 for t < 0,
• Complete response y(t) for t>=0 has two parts:
▫ Zero-state response
▫ Zero-input response
RLC Circuits
• Kirchhoff’s voltage law,
Time-
linearity Invariance
Application of Superposition and Time
Invariance: Example
• Example 1: Given the response of an RL circuit to a unit step
source u(t), find the response to a pulse
Convolution Integral
• Basic idea: use an (infinite) set of discrete time impulses to
represent any signal.
• Consider any discrete input signal x[n]. This can be written
as the linear sum of a set of unit impulse signals:
• Ex.
Convolution Integral
• Generic representation of a signal:
• A very important way to analyse a system is to study the
output signal when a unit impulse signal is used as an input
• Another Way
Convolution Integral
• Discrete-time convolution • Continuous-time convolution
V. t ≥ 4
• g(t) and f(t) do not overlap
• Area under their product is zero
Graphical Computation of Convolution Integral
Result of convolution (5 intervals of interest):
Discrete-time Convolution
• See example 2.3
Convolution Properties
– Commutative: f1(t) * f2(t) = f2(t) * f1(t)
– Distributive: f1(t) * [f2(t) + f3(t)] = f1(t) * f2(t) + f1(t) * f3(t)
– Associative: f1(t) * [f2(t) * f3(t)] = [f1(t) * f2(t)] * f3(t)
– Shift: If f1(t) * f2(t) = c(t),
– then f1(t) * f2(t - T) = f1(t - T) * f2(t) = c(t - T).
– Convolution with impulse, f(t) * 𝛿(t) = f(t)
– Convolution with shifted impulse, f(t) * 𝛿(t - T) = f(t - T)
Task
Plot the autocorrelation sequence of a sinewave with frequency 1 Hz,
sampling frequency of 200 Hz using the Matlab Xcorr built in function and this
subroutine:
Case Study
Time Delay Estimation Processing Radar Returned Signal
% Assuming there are N samples of x
Y=xcorr(r,x);
R=Y(1:N);
Rrx=fliplr(R);
Thanks
Questions