Signals Summary
Signals Summary
Classification of signals
Continuous-time (CT) and
discrete-time (DT) signals
Even signals are symmetric about the Odd signals are antisymmetric about
vertical axis or time origin the time origin
Even-odd decomposition
1
Even component: xe(t)= [ x ( t ) + x (−t ) ]
2
1
Odd component: xo(t)= [ x ( t )−x (−t )]
2
1
1. Sketch x (t)
2
1
2. Sketch x (−t)
2
1
Even component: xe(t)= [ x ( t ) + x (−t ) ]
2
1
Odd component: xo(t)= [ x ( t )−x (−t )]
2
Periodic signal
x(t) is a continuous function of time that satisfies the condition
x(t)=x(t+T)
where T is a positive constant
Smallest value of T is the fundamental period
Fundamental frequency
1
f = in hertz (Hz)
T
Angular frequency
2π
ω=2 πf =
T
X[n] is a discrete function of time that satisfies the condition
X[n]=x[n+N]
where N is a positive integer
Smallest value of N is the fundamental period
Energy Energy
∞ ∞
E= ∫ x (t)dt
2
E= ∑ x2 [n]
−∞ n=−∞
Addition
Continuous signal y(t) is a result of addition, y(t) = x1(t)+x2(t)
Discrete signals, y[n]= x1[n]+x2[n]
Multiplication
Continuous signal y(t) obtained from multiplication, y(t)=x1(t)x2(t)
Discrete signal, y[n]=x1[n]x2[n]
Differentiation
d
y(t)= x(t)
dt
Integration
t
y ( t ) =∫ x (τ)
−∞
Time scaling
The signal y(t) obtained by scaling the independent variable time by a factor of a is
defined by
y(t)=x(at)
Compressed
If a>1, y(t) will be compressed
Expanded in time
If 0<a<1, y(t), is an expanded version of x(t)
For discrete,
y[n]=x[kn], k > 0
Time shifting
y(t)=x(t-to) where to is the time shift
Reflection
Precedence rule
1. Perform time shifting first
2. Followed by time scaling
Correct order
Wrong order
Impulse function
Exponential Signals
X(t)=Beat
B and a are real parameters
B is amplitude of exponential signal measured at t=0
Substituting
X[n]=Acos(Ωn+ ΩN+ Ø)
Chapter 3
System properties
Memory vs memoryless
Invertibility
Causality
Stability
Time-invariance
Linearity
Memory vs memoryless
Memory system has an output that depends on past or future values of
input signal
Memoryless system only depends on present value of input signal
Examples
Involves time shifted variables,
hence memory system
Only depend on present value
Hence memoryless system
Invertibility
If input can be obtained by reversing the output, system is invertible
Example
This is not invertible as the square
root of the output gives us ±input
instead of input
Causality
System is causal if present value of output signal depends on present or
past values of input signal
Non-causal system depend on one or more future values of input signal
Causality is required for a system to be capable of operation in real time
Example
Casual because output only
depends on present and past
values only
Noncasual as x[n+1] is a future
value
Stability
1. For a system to be stable, output should be bounded when given a
bounded input at every instant of time
Example
Input is bounded from -6 to 6 which
cause output to be bounded to e-6t to
e6t
Stable
Step function u(t) bounds input at 1 for
when t>0, but output will continuously
increase as time increase
Not stable
Time invariant
1. System is time invariant if a time delay in the input causes output to have
the same time delay
Example
Linearity
Additivity
1. X(t)=x1(t)+x2(t) has to produce the corresponding output y(t)=y1(t)+y2(t)
Scalability
2. Input x(t) is scaled by a constant factor will cause output to be scaled by the
same factor
Example
Let x(t) = ax(t)
Let x(t)=(x1(t)+x2(t))
Chapter 4
Convolution operation for discrete function
1. Find all values of x[n] and h[n] (if not given, draw graph)
2. Draw table and fill in x[n] on top and h[n] at the side, underline value at n=0
3. Fill in values in the table by multiplying
4. Sum the diagonal and plot the value as the output
5. Tic tac toe goes brr brr
Convolution operation for continuous signals
1. Choose 1 signal to perform reversal and time shift to obtain h(t- τ ) signal
2. Slowly slide h(t- τ ) to overlap the other signal by setting a boundary to the
value of t
3. Integrate using limits of the overlapping part and sub in the values of each
signal equation
Upper boundary
y (t)= ∫ x ( t ) h (t−τ ) d τ
Lower boundary
If graph is flat, If graph is ramp with If graph is ramp with
Eqn = 1 positive gradient negative gradient
Eqn = τ Eqn = t−τ
Chapter 5
Eigenfunction of LTI system
If output of LTI system is a scaled version of input, the input function is called
eigenfunction and the scaling factor is called the eigenvalue
x [ k ] = ∫ x (t)e− jkwt dt
T t 1
Chapter 6
Fourier transform
FT Inverse FT
∞ ∞
1
X ( jw ) =∫ x (t )e ∫
− jwt jwt
dt X ( t )= x ( jw ) e dw
−∞ 2 π −∞
Chapter 7
Digital Signal Processing (DSP) system
F S – sampling frequency
F N – maximum frequency of signal
Nyquist frequency (folding frequency) Nyquist rate (Sampling frequency)
F F S=2 F N
FN= S
2
Aliasing effect refers to when two different signals become indistinguishable when
sampled
n=0
K=0
Chapter 8
Fast Fourier Transform
DFT formula
N −1 n
− jk 2 π
X ( k )= ∑ x n e N
n=0
2π
−j
To simplify, use W =e N
N
N −1
X ( k )= ∑ x n W N
Kn
n=0
Using unit circle
Example of W 46
Chapter 9
Z-transform formula
∞
X ( z )= ∑ x (n) z−n
n=−∞
Example: finite sequence
∞ 0
X ( z )= ∑ x ( n ) z = ∑ x ( n ) z −n
−n
n=−∞ n=−6
−(−5) −(−3) −(−5 ) −(−3) −(−1)
X ( z )=0+ z +3 z +5 z +3z +z +0
5 4 3 2 1
X ( z )=z +3 z +5 z +3 z + z
∞ ∞
X ( z )= ∑ x ( n ) z =¿ ∑ (1) z −n ¿
−n
n=−∞ n=0
−1 −2 −3
X ( z )=1+ z + z + z +… - (1)
Region of convergence
Criteria that makes X(z) go to 0
|z−1|<1
Using (1) – (2)
X ( z )−z−1 X ( z )=1
X ( z ) ( 1−z )=1
−1
1
X ( z )=
( 1−z −1 )
z
X ( z )=
( z−1 )
Properties of z-transform
Linearity Delay or shift
Can add sequence of x(n) together then x ( n)→ X ( z )
Z-transform or vice versa x ( n−m ) → Z−m X (z)
Differentiation Convolution
x ( n ) → X (z ) ∞
dX ( z) y ( n )= ∑ h ( k ) x (n−k )
nx ( n ) →−Z k=−∞
dz Y(z) = H(z)X(z)
Inverse z-transform
−1
x ( n )=Z [ X ( z)]
C1 z c z
X ( z )= + 2
z−0.75 z +0.5
( z− pk )
c k= X ( z )
z z= pk
|
c 1=
( z
(z−0.75)(z +0.5) z )
( z−0.75 )
|
z=0.75
=0.8
c 2= ( (z−0.75)(z
z
+0.5) ) ( z−0.75 )
z |z=−0.5
=−0.8
0.8 z 0.8 z
X ( z )= −
z−0.75 z+ 0.5
Refer to z-transform table and look or similar form of X(z) to get X(n)
X ( n ) =0.8 [ ( 0.75 ) −(−0.5 ) ] u[n]
n n
c z=¿
power −1
1 d
Di= ¿
( power of root−i) d z power −i
1 d 2−1
D 1= ¿¿
( 2−1 ) ! dz 2−1
d
D 1= ¿
dz
D 1=¿
D1=−2
2−2
1 d
D 2= ¿¿
( 2−2 ) ! d z 2−2
D2=¿ ¿
D2=2
2 2 Z 2Z
X ( z )= − +
(z−0.5) ( z−1 ) ¿ ¿
Refer to z-transform table
x ( n )=[ 2 ( 0.5n ) −2 ( 1n ) +2 n ( 1 n ) ] u [ n]
Chapter 10
Finite impulse response (FIR) filter Infinite impulse response (IIR) filter
N −1 N
H ( z )= ∑ h(k )z ∑ bk z−k
−k
K =0 k =0
H ( z )= M
(1+ ∑ a k z−k )
k=1
Chapter 11
1. Specify the type of filter
Given in question
2. Obtain impulse response
Given in question
3. Select window
Write window type given in question
3.3 transition width
∆ f= , where ∆ f = (round up value to make it odd number)
N Sampling freq
Find N
Write down W(n) given in question
4. Calculate coefficient
Transition width
f c = passband edge frequency +
2
Normalise
fc
f c' =
sampling frequency
h ( n ) =h D ( n ) +w (n)