Line 72: Line 72:
  
 
===Answer 6===
 
===Answer 6===
 +
from the equation we can get that
  
<math> x[n] = u[n+2] - u[n-1]</math>
+
<math>
 +
X(n) = u[n+2] - u[n-1] = \left\{
 +
  \begin{array}{l l}
 +
    1 & \quad when \quad  n = -2,-1,0\\
 +
    0 & \quad \text{else}
 +
  \end{array} \right.
 +
</math>
  
<math>X(\omega) = \sum_{n=-\infty}^{+\infty} x[n] e^{-j\omega n}</math>
+
Hence, substitute into the DTFT equation,
  
<math>X(\omega) = \sum_{n=-2}^{0} e^{-j\omega n}</math>
+
<math> X_(\omega) = \sum_{n = -\infty}^{ \infty} x[n] e^{-j\omega n}
 +
</math>
  
<math>X(\omega) = e^{j 2 \omega} + e^{j\omega} + 1 </math>
+
change the limit to
 +
 
 +
<math> X_(\omega) = \sum_{n = -2}^{ 0} e^{-j\omega n}
 +
</math>
 +
 
 +
Then, we expand to the normal expression.
 +
 
 +
<math> X_(\omega) = 1 + e^{j \omega} + e^{j 2 \omega}
 +
</math>
  
  
 
----
 
----
 
[[2013_Fall_ECE_438_Boutin|Back to ECE438 Fall 2013]]
 
[[2013_Fall_ECE_438_Boutin|Back to ECE438 Fall 2013]]

Revision as of 17:29, 12 September 2013


Practice Problem on Discrete-time Fourier transform computation

Compute the discrete-time Fourier transform of the following signal:

$ x[n]= u[n+2]-u[n-1] $

See these Signal Definitions if you do not know what is the step function "u[n]".

(Write enough intermediate steps to fully justify your answer.)


Share your answers below

You will receive feedback from your instructor and TA directly on this page. Other students are welcome to comment/discuss/point out mistakes/ask questions too!

No need to write your name: we can find out who wrote what by checking the history of the page.


Answer 1

$ x[n] = u[n+2]-u[n-1] $.

$ X_(\omega) = \sum_{n=-\infty}^{+\infty} x[n] e^{-j\omega n} $

$ = \sum_{n=-2}^{0} x[n] e^{-j\omega n} $

$ = 1+ e^{j\omega} + e^{2j\omega} $


Answer 2

Green26 ece438 hmwrk3 rect.png

$ X_{2\pi}(\omega) = \sum_{n=-\infty}^{+\infty} x[n] e^{-j\omega n} $

$ = \sum_{n=-2}^{0} x[n] e^{-j\omega n} $

$ = e^{2j\omega} + e^{j\omega} + 1 $

Answer 3

$ X(\omega) = \sum_{n=-\infty}^{+\infty} (u[n+2] -u[n-1]) e^{-j\omega n} $

$ = \sum_{n=-2}^{+\infty} u[n+2] e^{-j\omega n} - \sum_{n=1}^{+\infty} u[n-1] e^{-j\omega n} $

$ = \sum_{n=-2}^{0} (u[n+2] -u[n-1]) e^{-j\omega n} $

$ = e^{2j\omega} + e^{j\omega} + 1 $

Answer 4

$ x[n] = u[n+2]-u[n-1] $


$ x[n] = ((\delta[-2]) +(\delta[-1]) +(\delta[0])) $

so $ X[Z] = e^{2 j \omega} +e^{j \omega} +1 $

Answer 5

$ x[n] = u[n+2] - u[n-1] $

$ X_(\omega) = \sum_{n=-\infty}^{+\infty} x[n] e^{-j\omega n} $

$ X_(\omega) = \sum_{n=-2}^{0} e^{-j\omega n} $

$ X_(\omega) = 1 + e^{j\omega}+ e^{2j\omega} $

Answer 6

from the equation we can get that

$ X(n) = u[n+2] - u[n-1] = \left\{ \begin{array}{l l} 1 & \quad when \quad n = -2,-1,0\\ 0 & \quad \text{else} \end{array} \right. $

Hence, substitute into the DTFT equation,

$ X_(\omega) = \sum_{n = -\infty}^{ \infty} x[n] e^{-j\omega n} $

change the limit to

$ X_(\omega) = \sum_{n = -2}^{ 0} e^{-j\omega n} $

Then, we expand to the normal expression.

$ X_(\omega) = 1 + e^{j \omega} + e^{j 2 \omega} $



Back to ECE438 Fall 2013

Alumni Liaison

has a message for current ECE438 students.

Sean Hu, ECE PhD 2009