Signal Windowing Homework: x[n]w[n], M=1 & 10

  • Thread starter Cursed
  • Start date
  • Tags
    Signal
In summary: (10w)= \sum_{k=0}^{10} 2cos(kw) + jsin(kw)= \sum_{k=-10}^{10} 2cos(kw) + jsin(kw)= 2\sum_{k=-∞}^{∞} cos(kw) + jsin(kw)= 2\pi\sum_{k=-∞}^{∞} δ[n-2\pi k]= 2\pi\sum_{k=-∞}^{∞} δ[n-k]= 2\pi\sum_{k=-∞}^{∞} δ[n-2\pi k]= 2\
  • #1
Cursed
39
0

Homework Statement



[itex]p[n]=x[n]w[n][/itex], where [itex]w[n][/itex] is the rectangular window.



[itex]x[n]=\sum_{k=-∞}^{∞} δ[n-k][/itex]

[itex]w[n]= 1,[/itex] for [itex]-M≤n≤M;[/itex]
[itex] = 0[/itex] otherwise​



1. What is [itex]X(e^{jw})[/itex]?
2. What is [itex]P(e^{jw})[/itex] when...
M=1?
M=10?​

[itex]j[/itex] is the imaginary number. (it's the same as [itex]i[/itex].)

Homework Equations


N/A


The Attempt at a Solution



[itex]X(e^{jw})=2\pi\sum_{k=-∞}^{∞}δ[n-2\pi k][/itex]

I found [itex]X(e^{jw}[/itex] fairly easily, but I can't find [itex]P(e^{jw})[/itex] for either case of M. The answers from the book are below. Can someone tell me how I solve for this? I don't see why [itex]X(e^{jw})[/itex] is so different from [itex]P(e^{jw})[/itex]

[itex]P(e^{jw})=e^{jw}+1+e^{-jw}=1+2cos(\omega)[/itex] when M=1
[itex]P(e^{jw})=\frac{sin(21 \omega/2}{\omega/2}[/itex] when M=1
 
Physics news on Phys.org
  • #2


First, let's clarify the problem statement. The forum post is asking for the value of P(e^{jw}), not X(e^{jw}). So the first step is to rewrite the equation for P(e^{jw}). We know that p[n] = x[n]w[n], so we can substitute in the given equations for x[n] and w[n]:

p[n] = \sum_{k=-∞}^{∞} δ[n-k] * 1, for -M≤n≤M;
= 0 otherwise

Next, we can rewrite the equation using the definition of the rectangular window:

p[n] = \sum_{k=-M}^{M} δ[n-k]

Now, we can plug this equation into the definition of P(e^{jw}):

P(e^{jw}) = \sum_{n=-∞}^{∞} p[n]e^{-jwn}

= \sum_{n=-∞}^{∞} \sum_{k=-M}^{M} δ[n-k]e^{-jwn}

= \sum_{k=-M}^{M} \sum_{n=-∞}^{∞} δ[n-k]e^{-jwn}

= \sum_{k=-M}^{M} e^{-jwk}

= e^{-jw(-M)} + e^{-jw(-M+1)} + ... + e^{-jw(M-1)} + e^{-jwM}

= e^{jwM} + e^{jw(M-1)} + ... + e^{jw(-1)} + e^{jw(0)} + e^{jw(1)} + ... + e^{jw(M-1)} + e^{jwM}

= \sum_{k=-M}^{M} e^{jwk}

= \sum_{k=-M}^{M} cos(kw) + jsin(kw)

Now, we can plug in the values for M=1 and M=10 to get the answers from the book:

P(e^{jw}) = cos(w) + jsin(w) + 1 + cos(2w) + jsin(2w) + ... + cos(10w) + jsin(10w)

= 1 + 2cos(w) + 2cos(2w) + ... + 2cos
 

What is signal windowing?

Signal windowing is a technique used in digital signal processing to isolate a specific portion of a signal for further analysis or processing. It involves multiplying a signal by a window function, which is a mathematical function that helps to reduce the effects of discontinuities at the beginning and end of the signal.

How does signal windowing work?

To perform signal windowing, the original signal (x[n]) is multiplied by a window function (w[n]) of the same length. This results in a new signal (x[n]w[n]) that is effectively "windowed" or isolated from the rest of the original signal. The window function is typically chosen based on the specific characteristics of the signal, such as its frequency content or the desired shape of the windowed signal.

What is M=1 & 10 in the context of signal windowing homework?

M=1 & 10 refers to the length of the window function being used in the signal windowing homework. M=1 means that the window function will be of length 1, while M=10 means that the window function will be of length 10. The length of the window function can significantly impact the resulting windowed signal, so it is an essential parameter to consider when performing signal windowing.

What are some common window functions used in signal windowing?

Some common window functions used in signal windowing include the rectangular window, the Hamming window, the Hanning window, and the Blackman window. Each of these window functions has its own unique characteristics and is suitable for different types of signals and applications.

What are the benefits of using signal windowing?

Signal windowing can help improve the accuracy of signal analysis by reducing the effects of discontinuities and noise at the beginning and end of a signal. It can also help isolate specific portions of a signal for further analysis or processing, making it a valuable tool in digital signal processing tasks.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
1
Views
953
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
4
Replies
108
Views
32K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top