sinusum

# sinusum - the respective windows or by moving the...

This preview shows pages 1–5. Sign up to view the full content.

EE 261 The Fourier Transform and its Applications Directions for using sinsum2 sinesum2 is a Matlab application that allows you to experiment with sums of the form N X n =1 A n sin(2 πnt + φ n ) . You ﬁrst choose the number of harmonics, N , and then you can adjust the amplitude, A n , and the phase, φ n , for each harmonic. The latest version of the application was written by Michelle Daniels, a student in EE261 in Autumn 2006, based on a clunky version written earlier by yours truly. Further improvements and enhancements are most welcome. To use the application, download and uncompress the ﬁle sinesum2.zip . This will result in a folder sinesum2 with two ﬁles in it. Start Matlab, make sure it can ﬁnd this folder, and at the Matlab prompt type sinesum2. You’ll see 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
First enter the number of harmonics you want in your sum, e.g., 10: 2
The initial amplitudes and phases are all set to 0. Highlight the harmonic you wish to modify and adjust the amplitude and the phase. You may do this either by entering the numbers directly into

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the respective windows, or by moving the respective sliders; by moving the sliders youll see the curves change before your eyes. (The program limits the amplitude to be at most 10 and the phase to be at most 2 . These can be modied in the script, though why would you want anything more than 2 for a phase.) For example, modifying the fth harmonic to have amplitude 8 and phase . 6 results in 3 Youll see the form of the modied harmonic, the combined signal (which at this point is only the single harmonic) and a spectral portrait showing the amplitude and the phase of the individual harmonics. Go boldly forward and modify additional harmonics: 4 The Play Sound button treats each harmonic as a single tone and plays the combined chord. Currently it only works on Windows machines. (Would someone like to x this?) If you want to experiment with a new set of harmonics click the Start Over button. 5...
View Full Document

{[ snackBarMessage ]}

### Page1 / 5

sinusum - the respective windows or by moving the...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online