Frequency Response Homework: Impulse & Cosine Output

AI Thread Summary
The discussion focuses on a homework problem involving a causal FIR filter defined by the coefficients {1, 4, 5, 4, 1}. The impulse response is identified as h[n] = δ[n] + 4δ[n-1] + 5δ[n-2] + 4δ[n-3] + δ[n-4]. The frequency response is derived and simplified to H(e^{jω}) = e^{-j2ω}[2cos(2ω) + 8cos(ω) + 5]. A question arises regarding the substitution of 0.5π for ω in calculating the output y[n] when the input is x[n] = cos(0.5πn), with some confusion about the necessity of a sampling frequency. The discussion emphasizes the importance of understanding the relationship between frequency variables in FIR filter analysis.
freezer
Messages
75
Reaction score
0

Homework Statement



3. (12 pts) Consider the causal FIR filter with {bk } = {1, 4, 5, 4, 1}.
(a) What is the impulse response of this filter (in terms of delta functions)?
(b) What is the frequency response of this filter? Simplify using Euler’s inverse formula.
(c) What is the output y[n] of this system when the input is x[n] = cos(0.5πn)?

Homework Equations


The Attempt at a Solution



(a) h[n]= δ[n]+ 4δ[n-1]+ 5δ[n-2]+ 4δ[n-3]+δ[n-4]

(b)

<br /> H(e^{j\hat{\omega}}) = 1 + 4e^{-j\hat{\omega}}+5e^{-j2\hat{\omega}}+4e^{-j3\hat{\omega}}+e^{-j4\hat{\omega}}<br />

<br /> H(e^{j\hat{\omega}}) = e^{-j2\hat{\omega}} [e^{j2\hat{\omega}} + e^{-j2\hat{\omega}}+4e^{j\hat{\omega}}+e^{-j\hat{\omega}}+5]<br />

<br /> H(e^{j\hat{\omega}}) = e^{-j2\hat{\omega}} [2cos(2\hat{\omega})+8cos(\hat{\omega})+5]<br />

(c) Does 0.5pi get substituted for omega hat to solve part c?
 
Physics news on Phys.org
Hopefully someone can give me a hint on this... It seems to me that I need an fs to complete this problem. omega hat = omega*Ts. If you are not given fs, do you just use the Nyquist rate?
 

Similar threads

Back
Top