sec5solns

# sec5solns - ECE 2200 Signals and Information Section 5(Week...

This preview shows pages 1–4. Sign up to view the full content.

ECE 2200 Signals and Information – Section 5 (Week 5 Mar 1-4) Page 1 1. The FIR filter with impulse response h [ n ] = 2 δ [ n - 2] has output y [ n ] = u [ n - 3] - u [ n - 6] . Determine the input x[n]. ————————————— ————————————— Solution (see “Section 5-6.2.1 Convolution as an Operator”): The deconvolution of y [ n ] is as follows: y [ n ] = x [ n ] * h [ n ] = 2 x [ n - 2] x [ n ] = 1 2 u [ n - 1] - 1 2 u [ n - 4] 2. The FIR filter has a step starting at sample zero as its input, i.e. x [ n ] = u [ n ], and the output is the Kronecker delta function, i.e. y [ n ] = δ [ n ]. Determine the impulse response of the filter. ————————————— ————————————— Solution : The output y [ n ] = δ [ n ] is achieved by convolving the unit-step input x [ n ] = u [ n ] with the first difference h [ n ] = δ [ n ] - δ [ n - 1] . 3. Consider the linear, time-invariant system described by the difference equation y [ n ] = 21 x [ n ] - 37 x [ n - 1] + 21 x [ n - 2] (i) Find the frequency response of H ( e j ˆ ω ) as a mathematical formula in polar form. (ii) Determine the period of H ( e j ˆ ω ) which is a periodic function of ˆ ω . (iii) Plot the magnitude and phase of H ( e j ˆ ω ) as a function of ˆ ω for - π < ˆ ω < 5 π . Check your answer using the MATLAB function freqz . (iv) Find ALL frequencies ˆ ω , if any, for which the output response to the input e j ˆ ωn is zero. (v) For the input x [ n ] = sin(2 πn/ 17) determine the output in the form y [ n ] = M cos( γn + θ ) by specifying M , γ , and θ .

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
ECE 2200 Signals and Information – Section 5 (Week 5 Mar 1-4) Page 2 ————————————— ————————————— Solution (read “Section 6-1 Sinusoidal Response of FIR Systems”): (i) The filter coefficients are b 0 = 21, b 1 = - 37 and b 2 = 21. By Equation (6.4), the frequency-response function (or frequency-response) for the system after factoring out e - j ˆ ω and reducing complex exponentials using Euler’s formula is H ( e j ˆ ω ) = e - j ˆ ω (42 cos ˆ ω - 37) (ii) 2 π (iii) As indicted in the MATLAB documentation, freqz returns a frequency response h and frequency vector w with values ranging from 0 to π . By interpreting this result, we obtain the magnitude and phase plot shown in Figure 1. 0 20 40 60 80 3 2 1 0 1 2 3 - π 0 π 2 π 3 π 4 π 5 π - π 0 π 2 π 3 π 4 π 5 π | H ( e j ˆ ω ) | H ( e j ˆ ω ) Figure 1: (top) Magnitude and (bottom) phase for H ( e j ˆ ω ) over three periods. (iv) H ( e j ˆ ω ) = 0 when 42 cos ˆ ω - 37 = 0, meaning ˆ ω = cos - 1 37 42 .
ECE 2200 Signals and Information – Section 5 (Week 5 Mar 1-4) Page 3 (v) By expressing the input as x [ n ] = sin 2 πn 17 = cos 2 πn 17 - π 2 we immediately see that γ = 2 π/ 17 (the FIR system does not change the frequency of the input signal). By Equation 6.2, the output is then the output response scaled by

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern