You are on page 1of 42

Discrete Time Signals

EE 341

Discrete Time Linear Systems


University of Washington
Seattle, Washington
Sampled Signals
• Converting continuous time signal into discrete time
system is unambiguous—e.g., sample value every T
[note that we are throwing away information]

Given f(t) to be a continuous time signal, f(nT) is the value of f(t)


at t = nT. The discrete-time signal (or sequence) is defined only for
n an integer. So if we derive from by sampling every seconds,
where is the sample period, we get:

f [n]  f (nT )  f (t ) t  nT 2
Discrete Time Unit Step Function

3
Time-shifted unit step function

For n0 > 0

4
Time-shifted unit step function

For n0 < 0

5
Discrete Time Unit Impulse Function

6
Shifted Impulse Function

7
Shifted Impulse Function

8
Comparison—DT and CT

9
Adding and Subtracting Signals
• Do it "point by point"
• Can do using a table, or graphically (or by
computer program)
• Example:

10
Adding and Subtracting Signals
• Example:

=
11
Adding and Subtracting Signals

12
Adding and Subtracting Signals

13
Adding and Subtracting Signals

14
Adding and Subtracting Signals

15
Time-Reversal of a Signal

16
Time-Scaling a Signal

17
Time-Scaling a Signal-Subsampling

Find w1[n] = x[2n]

18
Time-Scaling a Signal-Subsampling

Find w2[n] = x[2n+1]

19
Time-Scaling a Signal-Slowing
Down

20
Time-Scaling a Signal-Slowing
Down

21
Time-Scaling a Signal-Subsampling

w1[n] = x[2n]

Using linear
interpolation

22
Time-Scaling a Signal-Subsampling

w2[n] = x[2n+1]

Using linear
interpolation

23
Time-Scaling a Signal-Subsampling

Try a different example…

Find w3[n] = y[2n] and w4[n] = y[2n+1]

24
Time-Scaling a Signal-Subsampling

w3[n] = y[2n]

w4[n] = y[2n+1]

25
Recall earlier example…

w3[n] = y[2n]

What does w3[n/2] look like? (compute from w3, using table and
linear interpolation)
Would look different if
Looks just like y[n] ! different interpolation

26
Recall earlier example…

w4[n] = y[2n+1]

What does w4[n/2] look like? (compute from w4, using table and
linear interpolation) Would look different if
Looks just like w4[n] ! different interpolation

27
Recall earlier example…

What does y[n/2] look like,


using linear interpolation?

28
More Time-Shifting

y[n]

29
More Time-Shifting

30
Combining Time Shifting and Scaling

31
32
Combining Time Shifting and Scaling

Be careful—for some cases method 1 doesn't work!


For example, if you want to form

What does it mean to shift a signal by


3/2 ?? To make sure, plug values into
the table to check:

For other cases, method 2 doesn't work


33
Combining Time Shifting and Scaling

34
35
Combining Time Shifting and Scaling

2
x[n]=2u[n+2] 2
2 2
z[n]=x[3-2n]
2 2
2 2
2
2
2
2
Get this from table, using x[n] 2
values.
2
36
Combining Time Shifting and
Scaling

37
Combining Time Shifting and Scaling

38
39
40
Multiply these two to get

41
42

You might also like