(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
This is an easy bug to spot. Although the given equation appears to be complex, it is correct. The problem is that the sampling frequency is given to be almost the exact same as the function period, meaning that it may only mark points about once every period:
 
This is an easy bug to spot. Although the given equation appears to be complex, it is correct. The problem is that the sampling frequency is given to be almost the exact same as the function period, meaning that it may only mark points about once every period:
  
[[Image:hw2b_1 tyler_ECE301Fall2008mboutin]]
+
[[Image:hw2b_1_tyler_ECE301Fall2008mboutin.png]]
  
..:p very unfortunate looking
+
very unfortunate looking :p
  
When the sampling frequency is made much smaller, the function turns attractive.
+
When the sampling frequency is made much smaller, the function is good one.
  
[[Image:hw2b_2 tyler_ECE301Fall2008mboutin]]
+
[[Image:hw2b_2_tyler_ECE301Fall2008mboutin.png]]
  
 
much better, nice try at tricks though
 
much better, nice try at tricks though

Latest revision as of 13:20, 11 September 2008

Find the bug

This is an easy bug to spot. Although the given equation appears to be complex, it is correct. The problem is that the sampling frequency is given to be almost the exact same as the function period, meaning that it may only mark points about once every period:

Hw2b 1 tyler ECE301Fall2008mboutin.png

very unfortunate looking :p

When the sampling frequency is made much smaller, the function is good one.

Hw2b 2 tyler ECE301Fall2008mboutin.png

much better, nice try at tricks though

Alumni Liaison

Correspondence Chess Grandmaster and Purdue Alumni

Prof. Dan Fleetwood