DSP - Frequency Response of an FIR Filter

In summary, the conversation discusses a linear time-invariant filter described by a difference equation and its frequency response. The frequency response can be obtained by using the expression H(e^-jw) = 1 - e^-j2w, where (e^-jw) represents the angle and (2j*sin(w)) represents the magnitude. However, since there is an imaginary number, j, in the magnitude, it may be difficult to plot it on an axis. A suggested solution is to separate the plots for magnitude and phase, making two plots versus frequency.
  • #1
Lightning19
4
0

Homework Statement


A linear time-invariant filter is described by the difference equation

y[n] = x[n] - x[n-2]

a) Obtain an expresson for the frequency response of this system.

b) Sketch the frequency response (magnitude and angle) as a function of frequency.


2. The attempt at a solution

a) {bk} = {1, 0, -1}
H(e^-jw)= 1-e^-j2w

b) I am not sure how to plot the magnitude.

H(e^-jw)= 1-e^-j2w = (e^-jw)(2*j*sin(w))

where (e^-jw) is the angle and (2*j*sin(w)) is the magnitude.

However, there is an imaginary number, j, in the magnitude...what do I do with this?

Thank you.
 
Physics news on Phys.org
  • #3
OK... so from the notation is seems like cos w is always 0 since the magnitude is

2jsin(w)

So would it just be an empty set of axis?
 
  • #4
I did a little googling to see if I could find a good reference for plotting complex functions in regards to frequency response. Here's a pdf on FEEDBACK CONTROL that's a bit long but has a good explanation on page 147.
We can replot the data by separating the plots for magnitude and
phase making two plots versus frequency...
"www.ece.clemson.edu/crb/ece409/PlettNotes/PlettDawson.pdf"[/URL]

Regards
 
Last edited by a moderator:

1. What is a FIR filter?

A FIR filter, or Finite Impulse Response filter, is a type of digital filter that is used in signal processing. It is a non-recursive filter, which means that its output depends only on the current and past input values, and not on past output values.

2. What is the frequency response of an FIR filter?

The frequency response of an FIR filter is a plot of the filter's output amplitude as a function of input frequency. It shows how the filter affects different frequencies in the input signal.

3. How is the frequency response of an FIR filter calculated?

The frequency response of an FIR filter can be calculated by taking the Fourier transform of the filter's impulse response. This results in a complex-valued function that describes how the filter affects different frequencies.

4. What is the significance of the frequency response in FIR filters?

The frequency response of an FIR filter is important because it allows us to analyze and understand how the filter will affect different frequencies in a signal. It also helps us design and optimize filters for specific applications.

5. How does the frequency response of an FIR filter differ from other types of filters?

The frequency response of an FIR filter differs from other types of filters in that it has a finite duration, meaning that it only operates on a limited number of input samples. This makes it easier to analyze and design compared to other filters, such as IIR filters, which have an infinite duration.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
16
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
960
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top