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.png tyler_ECE301Fall2008mboutin]] |
very unfortunate looking :p | very unfortunate looking :p | ||
Line 9: | Line 9: | ||
When the sampling frequency is made much smaller, the function turns attractive. | When the sampling frequency is made much smaller, the function turns attractive. | ||
− | [[Image:hw2b_2 tyler_ECE301Fall2008mboutin]] | + | [[Image:hw2b_2.png tyler_ECE301Fall2008mboutin]] |
much better, nice try at tricks though | much better, nice try at tricks though |
Revision as of 13:18, 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:
File:Hw2b 1.png tyler ECE301Fall2008mboutin
very unfortunate looking :p
When the sampling frequency is made much smaller, the function turns attractive.
File:Hw2b 2.png tyler ECE301Fall2008mboutin
much better, nice try at tricks though