Line 35: | Line 35: | ||
[[Hw1 ECE301S11 Yimin Xiao]] | [[Hw1 ECE301S11 Yimin Xiao]] | ||
− | [[Hw1 ECE301S11 Michael Gardner]]<br> | + | [[Hw1 ECE301S11 Michael Gardner]]<br> |
− | [[Hw1 ECE301S11 Alberto Peralta]] <br> | + | [[Hw1 ECE301S11 Alberto Peralta]] <br> |
− | [[Hw1 ECE301S11 Sachin Santhakumar]]<br> | + | [[Hw1 ECE301S11 Sachin Santhakumar]]<br> |
− | [[Hw1 ECE301S11 Megha Reddy]]<br> | + | [[Hw1 ECE301S11 Megha Reddy]]<br> |
[[Hw1 ECE301S11 Carolyn McMican|Hw1_ECE301S11_Carolyn McMican]] | [[Hw1 ECE301S11 Carolyn McMican|Hw1_ECE301S11_Carolyn McMican]] | ||
Line 51: | Line 51: | ||
[https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Bo_Yuan Hw1 ECE301S11 Bo Yuan] | [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Bo_Yuan Hw1 ECE301S11 Bo Yuan] | ||
− | [[HW1 ECE301S11 Matt Mabry]] | + | [[HW1 ECE301S11 Matt Mabry]] |
− | [[ | + | [[Hw1 ECE301S11 Zach Bright]] |
[[HW1 ECE301S11 Kyle Haver]] | [[HW1 ECE301S11 Kyle Haver]] | ||
Line 63: | Line 63: | ||
[[Hw1 ECE301S11 Krishna Jhajaria]] | [[Hw1 ECE301S11 Krishna Jhajaria]] | ||
− | [[Hw1 ECE301S11 Jitbhat Patmastana]]<br> | + | [[Hw1 ECE301S11 Jitbhat Patmastana]]<br> |
[[Hw1 ECE301S11 Plengrapin Buason]] | [[Hw1 ECE301S11 Plengrapin Buason]] | ||
Line 77: | Line 77: | ||
[[Hw1 ECE301S11 Zachary Flohr]] | [[Hw1 ECE301S11 Zachary Flohr]] | ||
− | [[Hw1 ECE301S11 Ellen Fissel]] | + | [[Hw1 ECE301S11 Ellen Fissel]] |
− | [[Hw1 ECE301S11 Sharifah Fareena Aljunid]] | + | [[Hw1 ECE301S11 Sharifah Fareena Aljunid]] |
− | + | <br> [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Charles_Peak HW1 ECE301S11 Charles Peak] | |
− | [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Charles_Peak HW1 ECE301S11 Charles Peak] | + | |
[https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Josh_OMeara HW1 ECE301S11 Josh O'Meara] | [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Josh_OMeara HW1 ECE301S11 Josh O'Meara] | ||
Line 92: | Line 91: | ||
[https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Kaylee_Joseph Hw1_ECE301S11_Kaylee_Joseph] | [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Kaylee_Joseph Hw1_ECE301S11_Kaylee_Joseph] | ||
− | [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Caitlin_Wippich Hw1_ECE301S11_Caitlin_Wippich] | + | [https://www.projectrhea.org/rhea/index.php/Hw1_ECE301S11_Caitlin_Wippich Hw1_ECE301S11_Caitlin_Wippich] |
[https://kiwi.ecn.purdue.edu/rhea/index.php/Hw1_ECE301S11_Grant_Wood Hw1_ECE301S11_Grant_Wood] | [https://kiwi.ecn.purdue.edu/rhea/index.php/Hw1_ECE301S11_Grant_Wood Hw1_ECE301S11_Grant_Wood] | ||
Line 116: | Line 115: | ||
[[Hw1 ECE301S11 Joe Katz]] | [[Hw1 ECE301S11 Joe Katz]] | ||
− | [https://www.projectrhea.org/rhea/index.php/HW1_ECE301S11_Hale_Petersen HW1_ECE301S11_Hale_Petersen] | + | [https://www.projectrhea.org/rhea/index.php/HW1_ECE301S11_Hale_Petersen HW1_ECE301S11_Hale_Petersen] |
[[Hw1 ECE301S11 Craig Lechlitner]] | [[Hw1 ECE301S11 Craig Lechlitner]] | ||
− | [[Hw1 ECE301S11 Melanie Gauci]] | + | [[Hw1 ECE301S11 Melanie Gauci]] |
+ | |||
+ | [[Hw1 ECE301S11 Phillip Luce]] | ||
− | [[ | + | [[Hw1 ECE301S11 Michaela Carrieres]] |
− | [[ | + | [[Hw1 ECE301S11 Michael James]] |
== If you have questions == | == If you have questions == | ||
Line 145: | Line 146: | ||
<tr><td>C</td><td>x</td></tr> | <tr><td>C</td><td>x</td></tr> | ||
</table> | </table> | ||
− | --> | + | --> |
Recall from class that a sine wave with a 440 Hz frequency is the note A4. Write a Matlab routine that plays the three following tunes consecutively. | Recall from class that a sine wave with a 440 Hz frequency is the note A4. Write a Matlab routine that plays the three following tunes consecutively. | ||
Line 166: | Line 167: | ||
---- | ---- | ||
− | [[2011 Spring ECE 301 Boutin|Back to 2011 Spring ECE 301 Boutin]] <br> | + | [[2011 Spring ECE 301 Boutin|Back to 2011 Spring ECE 301 Boutin]] <br> |
[[Category:2011_Spring_ECE_301_Boutin]] | [[Category:2011_Spring_ECE_301_Boutin]] |
Revision as of 08:05, 19 January 2011
Contents
Homework 1
Due by 6pm, Wednesday January 19, 2011
How to hand in
You have two options to hand in your homework.
- Option 1 (preferred option, by far the easiest!)
- Create a Rhea page called "hw1_ECE301S11_yourname" and post a link to it below. Post all your results on that page, including all your explanations, MATLAB code and sound files. You must read this disclaimer before posting. If you wish to post anonymously, please contact your instructor to get a new login name (to be used in place of your career account login).
- Option 2
- Write a report and save it in pdf format. Then zip your report along with your code and sound files, and upload these in this dropbox .
Hw1 ECE301S11 Sachin Santhakumar
Hw1 ECE301S11 Krishna Jhajaria
Hw1 ECE301S11 Jitbhat Patmastana
Hw1 ECE301S11 Plengrapin Buason
Hw1 ECE301S11 Sharifah Fareena Aljunid
Hw1_ECE301S11_Alexander_Szewczyk
Hw1 ECE301S11 Kara Ellspermann
Hw1 ECE301S11 Christian Rivera
Hw1 ECE301S11 Craig Lechlitner
Hw1 ECE301S11 Michaela Carrieres
If you have questions
If you have questions or cannot get this problem to work, then just post what you get along with your Matlab code on the hw1 discussion page. All students are encouraged to help each other on this page. Your TA and instructor will read this page regularly and attempt to answer your questions as soon as possible.
Playing Music
The frequency of any note is related to the frequency of the note middle A (A4) by the following formula:
$ f=2^{\frac{n}{12}}\cdot f_A $,
where n is the number of haft steps from A4 and fA is the frequency of A4. Note that if the note is higher than A4 then n is a postive integer, and if it is lower than A4 n is a negative integer.
Recall from class that a sine wave with a 440 Hz frequency is the note A4. Write a Matlab routine that plays the three following tunes consecutively.
- The main melody of the song "Smoke On The Water" by Deep Purple. You have to play the melody at its original tempo (112 beats per minute). The melody transcription is here. The first note is G4. The notes and their corresponding timings are written above and below the staff. In case you don't know this song, you can find it on Youtube. (You can make use of the Matlab functions wavplay or sound and function wavwrite.)
- The tune of a) played 2 times faster.
- Take the signal x(t) corresponding to the tune of a) and rescale it according to the transformation y(t) = x(2t).
Hand in your Matlab code and a sound file containing your results for parts a), b), and c).
Hidden Backward Message
This extract Beatles.wav of a song by The Beatles is said to have a subliminal message that is repeated several times.
- What is the forward repeated phrase.
- Write a Matlab routine to extract the subliminal message by playing the extract backwards. Hand in your Matlab code along with a sound file containing the output of your routine (i.e. the reversed version of the song). Then answer the question: Does the reverse song contain a message? If so, what is it? (You can make use of the Matlab functions wavread, wavwrite, and flipud.)