You are on page 1of 3

INEL 5309 036 DSP I February 17, 2007

Quiz III Prof. Domingo Rodrguez

Due Tue., April 24, before 11:59 PM


Problem One (25 Points): RC-filters and Ideal Filters
i) Obtain the impulse response of a discrete filter implementation of two first order
analog RC-filters in cascade; ii) provide its Z-transform, with a pole-zero diagram, and
associated region of convergence; and iii) provide its frequency response as well as a plot
of the magnitude of its frequency response. Use MATLAB to assist you in your
calculations and plots. Use also the following information about first order analog RCfilters to assist you in obtaining your answers:
The impulse response of a causal RC-filter is given by
1
h( t ) = T { ( t )} = ho e t u( t ); =
, h0 =
RC
The product RC is called the time-constant of the RC-filter since it can be shown that
when t = t r 10 RC , the impulse response h( t ) 0 due to the fact that ( e 10 0) . The
value t = t r 10 RC is called the rise time of the RC-filter since it is the elapsed time
from the minimum value y( t ) = 0 to the maximum value y ( t ) = 1 of the step response

y ( t ) = T {u( t )} =

h0

(1 e ) u( t ) . The normalized magnitude of the frequency response of


t

the RC-filter is given in the plot below. The frequency response of this causal first order
RC-filter is given by

1
1
1
1
H( f ) =
=
=
; B
=
1 + j 2fRC 1 + j (2f / ) 1 + j ( f / B)
2 2RC

1
=
is called the bandwidth or cut-off frequency of the
The parameter B
2 2RC
filter and it is the value for witch the magnitude of the frequency response drops by about
3 db . For this example, we have, B f m =

=
= 2000 H Z
2
2 RC

Compare this RC-filter with the ideal low-pass filter shown also in the picture below.
HL(f) and HRC(f)
1.4
1.2

Magnitude

1
0.8
0.6
0.4
0.2 you will find the impulse response of two first order RC-filters in cascade. The
Below
objective of this information is to assist you in obtaining your answer.
0
-5000

-4000

-3000

-2000

-1000
0
1000
Frequency in Hz.

2000

3000

4000

5000

INEL 5309 036 DSP I February 17, 2007


Quiz III Prof. Domingo Rodrguez

Due Tue., April 24, before 11:59 PM


MATLAB m-script file:rccfilt.m
Fs=100;
Ts=1/Fs;
N=50;
V=N*Ts;
R=10000;
C=10/1000000;
a=1/(R*C);
h0=100;
x0=100;
t=0:Ts:V-Ts;
x=x0*exp(-a*t);
h=h0*exp(-a*t);
y=(x0*h0)*(t.*exp(-a*t));
stem(t,x)
hold on
stem(t,y )
grid
xlabel('Time in Sec.')
ylabel('Magnitude')
title('Input x(t) and output y(t) of Cascade RC-Filter')
hold off
Input x(t) and output y(t) of Cascade RC-Filter
400
350
300

Magnitude

250
200
150
100
50
0

0.05

0.1

0.15

0.2
0.25
0.3
Time in Sec.

0.35

0.4

0.45

0.5

INEL 5309 036 DSP I February 17, 2007


Quiz III Prof. Domingo Rodrguez

Due Tue., April 24, before 11:59 PM


Problem Two (15 Points): Z-Transforms
Provide the Z-transforms, with associated R.O.C., of the following signals:
i).- x[n ] = a nu[n ] + bn u[n ] + c n u[ n 1],

a<b<c

ii).- x[n ] = n 2a nu[n ]


iii).- x[n ] = en cos ( 12 n ) u[n ] e n cos ( 12 n ) u[n 1]
4

Problem Three (20 Points): Filter Response


A causal filter has a the following transfer function
H ( z) =

1 + 2 z 1 + z 2
(1 + 12 z 1 )(1 z 1 )

i).- Find the impulse response h[n ] of the system causal

ii).- Find the output y[n] of this system if the input is x[n ] = e + j n .
2

Problem Four (20 Points): MATLAB Exercise


Do Exercise M.6.1 of the Textbook

Problem Five (20 Points): MATLAB Exercise


Do Exercise 7.40 of the Textbook

You might also like