(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
[[Category:homework]]
 
[[Category:homework]]
  
=Homework 2, [[ECE438]], Fall 2015, [[user:mboutin|Prof. Boutin]]=
+
=Homework 2, [[ECE438]], Fall 2016, [[user:mboutin|Prof. Boutin]]=
Hard copy due in class, Wednesday September 9, 2015.
+
Hard copy due in class, Wednesday September 7, 2016.
 
----
 
----
 
The goal of this homework is to understand the relationship between a signal and a sampling of that signal, viewed in the frequency domain. For simplicity we are focusing on pure frequencies for now. You should be able to do all this entire homework by more or less repeating what was done in class.  
 
The goal of this homework is to understand the relationship between a signal and a sampling of that signal, viewed in the frequency domain. For simplicity we are focusing on pure frequencies for now. You should be able to do all this entire homework by more or less repeating what was done in class.  
Line 16: Line 16:
  
  
'''2)''' Write MATLAB code to play the two DT signals from part a) for 2 seconds.  
+
'''2)''' Write MATLAB code to play the two DT signals from part a) for 3 seconds.  
  
 
Hand in a hard copy of your solutions. Pay attention to rigor!
 
Hand in a hard copy of your solutions. Pay attention to rigor!
Line 29: Line 29:
 
== Discussion ==
 
== Discussion ==
 
You may discuss the homework below.
 
You may discuss the homework below.
 +
*You may want to reflect about the fact that <math>\delta (x) </math> is not the same as <math>\delta (c x) </math> . When you draw an arrow pointing up in your graph, do you mean <math>\delta (\omega) </math> or <math>\delta (\omega \frac{T}{2\pi}) </math>? How does choosing one over the other change the constant you must put in front of the arrows? -pm
 
*write comment/question here
 
*write comment/question here
 
**answer will go here
 
**answer will go here
 
----
 
----
[[2015_Fall_ECE_438_Boutin|Back to ECE438, Fall 2015, Prof. Boutin]]
+
[[2016_Fall_ECE_438_Boutin|Back to ECE438, Fall 2016, Prof. Boutin]]

Latest revision as of 11:41, 2 September 2016


Homework 2, ECE438, Fall 2016, Prof. Boutin

Hard copy due in class, Wednesday September 7, 2016.


The goal of this homework is to understand the relationship between a signal and a sampling of that signal, viewed in the frequency domain. For simplicity we are focusing on pure frequencies for now. You should be able to do all this entire homework by more or less repeating what was done in class.


1) Pick a signal of the form x(t)=cos(something) representing a note of the middle scale of the piano (but not the middle C we did in class) and obtain its CTFT $ X(f) $. Then pick a sampling period $ T_1 $ for which no aliasing occurs and obtain the DTFT of the sampling $ x_1[n]=x(n T_1) $. More precisely, write a mathematical expression for $ X_1(\omega) $ and sketch its graph. Finally, pick a sampling frequency $ T_2 $ for which aliasing occurs and obtain the DTFT of the sampling $ x_2[n]=x(n T_2) $ (i.e., write a mathematical expression for $ X_2(\omega) $ and sketch its graph.) Note the difference and similarities between $ X(f) $ and $ X_1(\omega) $. Note the differences and similarities between $ X_1(\omega) $ and $ X_2(\omega) $.


2) Write MATLAB code to play the two DT signals from part a) for 3 seconds.

Hand in a hard copy of your solutions. Pay attention to rigor!

Presentation Guidelines

  • Write only on one side of the paper.
  • Use a "clean" sheet of paper (e.g., not torn out of a spiral book).
  • Staple the pages together.
  • Include a cover page.
  • Do not let your dog play with your homework.

Discussion

You may discuss the homework below.

  • You may want to reflect about the fact that $ \delta (x) $ is not the same as $ \delta (c x) $ . When you draw an arrow pointing up in your graph, do you mean $ \delta (\omega) $ or $ \delta (\omega \frac{T}{2\pi}) $? How does choosing one over the other change the constant you must put in front of the arrows? -pm
  • write comment/question here
    • answer will go here

Back to ECE438, Fall 2016, Prof. Boutin

Alumni Liaison

ECE462 Survivor

Seraj Dosenbach