4.0

4.0 | 2 ratings Rate this file 30 Downloads (last 30 days) File Size: 2.6 KB File ID: #35842
image thumbnail

Spectrogram, STFT, with varied kinds of Plots

by

 

Plots STFT using line, Stem, Surface, Image. STFT calculation done using in built function

| Watch this File

File Information
Description

This is a wrapper for the inbuilt function "Spectrogram". It simply plots STFT in 4 different ways.

In order to use it call the function with first parameter either 'Line', 'Stem', 'Surface', 'Image' and the rest of the inputs are similar to inbuilt function in the same order.

Execute the demo to see a simple use case.

Brief of the plot types

1. Line - Creates on line for each frequency. You can see the variation of it's amplitude over time.
2. Stem - Creates a 3D stem plot x-time, y-frequency, z-amplitude.
3. Surface - Creates a 3D surface plot x-time, y-frequency, z-amplitude
4. Image - Most commonly used.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
27 Jan 2013 Lairenlakpam Joyprakash Singh

Nicely plotted 3D spectrogram!

08 Apr 2012 College of Mechanical and Transportation

I love the 3D

Contact us