You are on page 1of 16

EE 313 Linear Systems and Signals Fall 2010

Signals

Prof. Brian L. Evans


Dept. of Electrical and Computer Engineering
The University of Texas at Austin

Initial conversion of content to PowerPoint


by Dr. Wade C. Schwartzkopf
Course Outline
• Time domain analysis (lectures 1-10) Roberts, ch. 1-3
Signals and systems in continuous and discrete time
Convolution: finding system response in time domain
• Frequency domain analysis (lectures 11-16)
Fourier series Roberts, ch. 4-7
Fourier transforms
Frequency responses of systems
• Generalized frequency domain analysis (lectures 17-26)
Laplace and z transforms of signals Roberts, ch. 9-12
Tests for system stability
Transfer functions of linear time-invariant systems
2-2
Signals
• A function, e.g. sin(t) in continuous-time or
sin(2 n / 10) in discrete-time, useful in analysis
• A sequence of numbers, e.g. {1,2,3,2,1} which is a
sampled triangle function, useful in simulation
• A collection of properties, e.g. even  1 for t  0

symmetric about origin, useful in 1
u  t    for t  0
reasoning about behavior 2
• A piecewise representation, e.g.  0 for t  0

• A functional, e.g. the Dirac 1 for n  0

delta functional (t) u[ n ]  
0 otherwise 2-3
Exponential Signals
• Solutions to linear constant-coefficient differential
equations, and hence, very common

e-t
et

t t
t = -1 : 0.01 : 1; t = -1 : 0.01 : 1;
e1 = exp(t); e2 = exp(-t);
plot(t, e1) plot(t, e2) 2-4
Exponential Signal Properties
• Real-valued exponential signals
Amplitude values are always non-negative
Might decay or not as t goes to infinity
 0 if a  0

lim e at   1 if a  0
t 
 if a  0

• Complex-valued exponential signals
e j  cos( )  j sin( ) e j  e  j  2 cos( )
e  j  cos( )  j sin( ) e j  e  j  2 j sin( )

We’ll need these properties throughout the semester


2-5
Piecewise Functions
• Unit area rectangular pulse  1
1 t 
rect(t) 2
 1 1
rect  t   
1
t 
2 2
0 1
t t 
-1/2 0 1/2  2

• What does rect(x / a) look like? Math commands


rectpuls(t)
• Unit triangle function tripuls(0.5*t)
tri(t)
1
1  t t 1
tri t   
 0 t 1
t
-1 0 1
2-6
Both functions are even symmetric about origin.
Dirac Delta Functional
1  t 
• Mathematical idealism for P (t ) 
2
rect 
 2 
an instantaneous event 1
  t   lim P  t  2
• Dirac delta as generalized  0

function (a.k.a. functional) 2


  t
 Area  lim 1
Unit area: 
 (t ) dt  1  0 2


Sifting 
g (t ) (t ) dt  g (0) P (t ) 
1 t
tri 
  
1
provided g(t) is defined at t = 0
 1   t   lim P  t  
Scaling:   (at ) dt  if a  0  0

a
  t
• Note that (0) is undefined 
Area  lim  1
 0  2-7
Dirac Delta Functional
• Generalized sifting, assuming that a > 0
1 if  a  T  a
a 
a  (t  T ) dt  
0 if T   a or T  a

• By convention, plot Dirac delta as arrow at origin


Undefined amplitude at origin  t
(1)
Denote area at origin as (area)
Height of arrow is irrelevant
Direction of arrow indicates sign of area 0 t

• Simplify Dirac delta terms only under integration


2-8
Dirac Delta Functional
• We can simplify (t) • Other examples
under integration 
 

 j t

 t e dt  1
   t   t  dt    0   t 

   t  2  cos   dt  0
• What about?  4 
1 
   t   t  dt  ?
 
e  2  x t 
  2  t  dt  e  2 x 2 

Answer: 0
• What about at origin?
• What about?
   t  dt  ?
0

   t   t  T  dt  ?
 0

By substitution of variables,    t  dt  0


   t  T   t  dt    T 

0
   t  dt  1
 2-9
Unit Step Function
• Models event that turns on and stays on
• Definition 0 t  0

u (t )      d  ? t  0
t
du

  t
 t 0 dt
1
• What happens at the origin for u(t)?
u(0-) = 0 and u(0+) = 1, but u(0) can take any value
Textbook uses u(0) = ½ to average left and right hand limits
Impulse invariance filter design uses u(0) = ½
L. B. Jackson, “A correction to impulse invariance,” IEEE Signal
Processing Letters, vol. 7, no. 10, Oct. 2000, pp. 273-275.

Math command stepfun(t,0) defines u(0) = 1 2-10


Other Important Functions
• Ramp • Unit comb
ramp(t) = t u(t) Impulse train

comb(t )    (t  n)
n  

comb t 
(1) (1) (1) (1) (1) (1)

t t
-2 -1 0 1 2 3
t = -3 : 0.01 : 3;
r = t .* stepfun(t,0);
plot(t, r) 2-11
Sinc Function
sin   t 
sinc t  
t
How to compute sinc(0)?
As t  0, numerator and
denominator are both going
to 0. How to handle it?

t = -5 : 0.01 : 5; Even symmetric about origin


s = sinc(t); Zero crossings at t  1,  2,  3, ...
plot(t, s) Amplitude decreases proportionally to 1/t
2-12
Sampling
• Many signals originate as continuous-time
signals, e.g. voice or conventional music
• Sample continuous-time signal at equally-spaced
points in time to obtain discrete-time signal
y[n] = y(n Ts) y[n]
Ts
n  {…, -2, -1, 0, 1, 2,…}
3 4 5 6 7
Ts is sampling period n
1 2
• Example
y(t)
y (t )  A cos 2  f 0 t   
y[n]  y (n Ts )  A cos 2  f 0 Ts n   
2-13
Audio CD Samples at 44.1 kHz
• Human hearing is from about 20 Hz to 20 kHz
• Sampling theorem (covered at mid-semester):
sample continuous-time signal at rate of more
than twice highest frequency in signal
• Analog-to-digital conversion for audio CD
First, apply a filter to pass frequencies up to 20 kHz
(called a lowpass filter) and reject high frequencies.
Lowpass filter needs 10% of cutoff frequency to roll off
to zero (filter can reject frequencies above 22 kHz)
Second, sample at 44.1 kHz captures analog frequencies
of up to but not including 22.05 kHz
Third, quantize to 16 bits per sample 2-14
Discrete-Time Impulse and Step
• Impulse function [n]
1 n  0
  n   1
0 n  0
Also called Kronecker Delta -2 -1 0 1 2 3
n
Even symmetric about origin
• Unit step (unit sequence)
1 n  0 u[n]
u n   n = -2 : 3;
0 n  0 1 u = stepfun(n,0);
stem(n, u);

n
-2 -1 0 1 2 3 2-15
Discrete-Time Sinusoidal Signals
Sinusoidal signal in • Discrete-time frequency
continuous time  0  2
f0
in rad/sample
fs
y (t )  A cos 2  f 0 t   
Given integers N and L with
Sample using sampling common factors removed,
period Ts discrete-time
sinusoid has f0 N
y[n]  y (n Ts )  A cos 2  f 0 Ts n    fs

L
period L if
Substitute Ts = 1 / fs, • Example: singing a tone
fs is sampling rate, during cell phone call
 f  f 0 1000 Hz 1
y[n]  A cos 2  0 n     
 fs  f s 8000 Hz 8 2-16

You might also like