Frequency Response of h(n) - (a)^n*cos(n*pi)*u(n)

In summary, to find the frequency response for the system with impulse response h(n) = (a)^n*cos(n*pi)*u(n), we can use the Z-transforms and make use of the facts that come with it. By rewriting the impulse response and finding the transfer function, we can then use this to find the frequency response by taking the value of the transfer function on the unit circle in the Z-plane.
  • #1
robert25pl
62
0
Can you help me find frequency response for the system. Thanks
h(n) = (a)^n*cos(n*pi)*u(n)
 
Physics news on Phys.org
  • #2
Do you know Z-transforms? That's your starting point... you could use the tables, or derive it by hand, which I would do (at least once, then use the tables freely). I haven't done this for awhile and feel like giving it a go, so I'll save you the trouble, or I'll at least get you started and stop once I get tired of using the TeX formatting.


We will make use the following facts...

(1) [tex]\mbox{From Eulers Identity: }\cos(n \pi)=\frac{1}{2}(e^j^n^\pi + e^-^j^n^\pi)[/tex]

(2) [tex]\mbox{Z-Transform definition: } H(z)=\sum_{n=-\infty}^\infty h(n) z^-^n[/tex]

(3) [tex]\mbox{Linearity of Z-Transforms: } h(n)=h_{1}(n)+h_{2}(n) \Leftrightarrow H(z) = H_{1}(z)+H_{2}(z)[/tex]

(4) [tex]\mbox{Geometric series: } \sum_{n=1}^\infty z^n = \frac{z}{1-z}[/tex]

Rewriting the impulse response with 1 gives us

[tex]h(n)=a^n cos(n \pi) u(n)=\frac{1}{2}a^n[e^j^n^\pi + e^-^j^n^\pi]u(n) = \frac{1}{2}[(ae^j^\pi)^n + (ae^-^j^\pi)^n]u(n)=h_{1}(n)+h_{2}(n)[/tex]

Find the Transfer function of this impulse response using (2) (3) and (4). The sums here run from one to infinity because of the unit step signal:

[tex]H(z)=\sum_{n=1}^\infty \frac{1}{2}(ae^j^\pi)^nz^-^n+\sum_{n=1}^\infty \frac{1}{2}(ae^-^j^\pi)^nz^-^n[/tex]

[tex] =\frac{1}{2}\sum_{n=1}^\infty (az^-^1e^j^\pi)^n +\frac{1}{2}\sum_{n=1}^\infty (az^-^1e^-^j^\pi)^n[/tex]

[tex] =\frac{az^-^1e^j^\pi}{1-az^-^1e^j^\pi}+\frac{az^-^1e^-^j^\pi}{1-az^-^1e^-^j^\pi}[/tex]

The frequency response is the value of the transfer function on the unit circle in the Z-Plane, so taking
[tex]H(z)|_{z=e^j^\omega}=H(\omega)[/tex]
gives you the frequency response. From this point on it's basically some algebraic manipulations, which you shouldn't have many troubles in completing.
 
Last edited:
  • #3


The frequency response of a system is a mathematical representation of how the system responds to different frequencies of input signals. In this case, the system is described by the function h(n) = (a)^n*cos(n*pi)*u(n), where a is a constant and u(n) is the unit step function. To find the frequency response of this system, we can use the Fourier transform.

The Fourier transform of h(n) is given by H(ω) = ∑[h(n)*e^(-jωn)], where ω is the frequency variable and j is the imaginary unit. By substituting the given function for h(n), we get H(ω) = ∑[(a)^n*cos(n*pi)*u(n)*e^(-jωn)]. Using the properties of the Fourier transform, we can simplify this expression to H(ω) = ∑[(a)^n*u(n)*e^(-jωn)] * ∑[cos(n*pi)*e^(-jωn)].

The first term in this expression, ∑[(a)^n*u(n)*e^(-jωn)], represents the frequency response of the system to the input signal (a)^n*u(n). This can be further simplified to H(ω) = ∑[(a)^n*e^(-jωn)] = 1/(1-ae^(-jω)).

The second term, ∑[cos(n*pi)*e^(-jωn)], represents the frequency response of the system to the cosine signal cos(n*pi). This can be simplified to H(ω) = ∑[cos(n*pi)*e^(-jωn)] = 1/(1-e^(-jω)).

Therefore, the overall frequency response of the system is given by H(ω) = 1/(1-ae^(-jω)) * 1/(1-e^(-jω)). This can also be written as H(ω) = 1/(1-ae^(-jω) - e^(-jω) + ae^(-jω)e^(-jω)). By simplifying this expression, we get H(ω) = 1/(1-(a+1)e^(-jω)).

In conclusion, the frequency response of the system described by h(n) = (a)^n*cos(n*pi)*u(n) is H(ω) = 1/(
 

1. What is the formula for the frequency response of h(n)?

The formula for the frequency response of h(n) is h(e) = H(e) = ∑[h(n)e-jωn]. This is known as the Fourier transform of the impulse response h(n), and it represents the complex frequency response of the system.

2. What is the function of the parameter "a" in the frequency response of h(n)?

The parameter "a" in the frequency response of h(n) represents the magnitude scaling factor of the cosine function. It determines the amplitude of the cosine term in the frequency response, and therefore affects the overall shape and magnitude of the response.

3. How does the value of "a" affect the frequency response of h(n)?

The value of "a" directly affects the amplitude of the cosine term in the frequency response. A larger value of "a" will result in a larger amplitude and therefore a higher peak in the response graph. Conversely, a smaller value of "a" will result in a lower amplitude and a lower peak in the response graph.

4. What is the significance of the term e in the frequency response of h(n)?

The term e represents the complex exponential function, which is a fundamental component in the Fourier transform. It is used to convert the time-domain signal h(n) into the frequency domain, and allows us to analyze the response of the system at different frequencies.

5. What is the physical interpretation of the frequency response of h(n)?

The frequency response of h(n) represents how a system responds to different frequencies of input signals. It shows the amplitude and phase of the output signal at each frequency, giving us insight into the behavior and characteristics of the system. This can be useful in designing and analyzing systems in various fields such as signal processing, communications, and control systems.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
8
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
944
  • Engineering and Comp Sci Homework Help
Replies
7
Views
910
  • Calculus and Beyond Homework Help
Replies
6
Views
216
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
Back
Top