Spectrogram (Short-time FT log magnitude)
by Sean Fulop
26 Mar 2002
(Updated 04 Apr 2002)
Computes the Short-time Fourier transform and displays as grayscale image or 3-D surface
|
Watch this File
|
| File Information |
| Description |
This program is a modification and extension to Paul Kienzle's spectrogram program for Octave. It is for Matlab 6r12.1. The short-time fourier transform of a signal is computed by FFTs of overlapping windowed signal segments. You can then exit with the complete STFT, as a matrix, or you can go on to plot first a grayscale pseudocolor spectrogram with interpolated shading, and then a color 3-D surface spectrogram viewed from an optimum angle.
I made this because the specgram function in the Matlab toolbox is a joke, it doesn't even use a Fast Fourier Transform, electing to compute the DFT directly in its algorithm. Second, neither that algorithm nor Paul's original program used the pseudo plot, which allows interpolated shading of the colors, which makes the spectrogram look acceptable. The other way (i.e.\ Matlab SP toolbox, Paul's program) of displaying a 2-D plot with a third dimension as color is through an indexed image, but this doesn't allow interpolated shading, and so the spectrograms are totally useless for speech analysis. |
| MATLAB release |
MATLAB 6.1 (R12.1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (24) |
| 22 May 2003 |
mohammed benbrahim
|
|
|
| 14 Jun 2003 |
D.S. Peterson
|
|
|
| 10 Jul 2003 |
Don Orofino
|
|
|
| 29 Jul 2003 |
w w
|
|
|
| 12 Aug 2005 |
David Michael
|
|
|
| 28 Sep 2005 |
Aragon Burlingham
|
|
|
| 03 Feb 2006 |
anitha padela
|
|
|
| 29 Mar 2006 |
Hoang Lan
|
|
|
| 14 Jan 2007 |
Loong Zh
|
|
|
| 30 Apr 2007 |
sausage Li
|
|
|
| 22 May 2007 |
xuemin chi
|
|
|
| 23 May 2007 |
Lifang Xue
|
|
|
| 13 Aug 2007 |
ding pei
|
|
|
| 29 Sep 2007 |
Elena Subtirica
|
|
|
| 06 Dec 2007 |
monoj sinha
|
|
|
| 15 Dec 2007 |
sara wu
|
|
|
| 24 Dec 2007 |
venata subbu
|
|
|
| 15 Mar 2008 |
bouziane mohamed
|
|
|
| 15 Mar 2008 |
ana sari
|
|
|
| 08 Apr 2008 |
Yuan-Tao Weng
|
|
|
| 04 May 2008 |
muhammad rafiq
|
|
|
| 26 Nov 2008 |
Mitko Orcev
|
|
|
| 19 Jun 2010 |
Katarzyna Zarnowiec
|
|
|
| 15 Dec 2011 |
zuo
|
|
|
|
Contact us at files@mathworks.com