Mason Bretan

Technology, Art, and Science
   Home      FFT - Spectrogram Function
1) Write your own spectrogram function using the FFT function in matlab in the form:
 
           function spectrogram = mySTFT(X, windowSize, hopSize)
 
2) use the "surf" function to plot the colored graph
3) Add a windowing function to your spectrogram. You can use [external link: http://en.wikipedia.org/wiki/Window_function#Triangular_window] as a resource for most functions. In class try implementing, Triangle, Hann, Hamming, Blackman, and Gaussian