Ported the currently used spectrogram script from python (gumstix repository) to matlab for consistency.