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