MATLAB_ASSIGNMENT_2_Fall 2006

# MATLAB_ASSIGNMENT_2_Fall 2006 - You can hear what they...

This preview shows page 1. Sign up to view the full content.

MATLAB Assignment #02 Tue 10/11/06 1) (80) Find the Fourier transform for each the signals below using the symbolic Toolbox in MATLAB: Remember to declare symbolic variables. Useful Commands include fourier, heaviside, dirac, etc. 1. ) ( 1 t x = 2[ u ( t ) - u ( t - 4)] 2. ) ( 2 t x = ) 2 ( 3 - - t e u ( t -2) 3. ) ( 3 t x = 2 sin cos t t t t - 4. ) ( 4 t x = ( 29 ( 29 2 2 - + + t t δ 5. ) ( 5 t x = (1 - t e 6 - ) u ( t ) 6. ) ( sin 1 ) ( 2 6 t t t x = 7. ) ( 7 t x = cos(4 π t )[ u ( t + 2) - u ( t - 2)] 8. ) ( 8 t x = t e 3 - [ u ( t ) - u ( t - 4)] 2) (20) Use Windows Sound Recorder to record your self saying the following vowel sounds: “oo” as in “pool”, “e” as in cheese, and “ah” as in “father” to three separate files. Load these wav files into MATLAB using wavread(), then compute their Fourier spectra using fft().
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: You can hear what they sound like using the wavplay() or sound() command, make sure to specify a sampling frequency such as 22050 Hz. Plot the spectra for the three files, and be sure to title each plot with which sound is being analyzed. Remember, the fft() will return a complex result, so you can use the abs() function to compute a magnitude spectrum, which will contain only real values. What do you notice, if anything, about the three plots? Comment on the harmonic content of each plot. Considering the Fourier transform of a sinusoid, do your results make sense?...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online