Be the first to rate this file! 40 Downloads (last 30 days) File Size: 3.93 KB File ID: #42170 Version: 1.6
image thumbnail

Spectral Analysis with Matlab Implementation



11 Jun 2013 (Updated )

Spectral analysis including amplitude and phase spectrum as well as their graphical representation.

| Watch this File

File Information

The present code is a Matlab function that provides:
1) Calculation of:
- one-sided amplitude spectrum;
- one-sided phase spectrum;
- frequency vector.
2) Plots of:
- one-sided amplitude spectrum;
- one-sided phase spectrum.
Two functions for spectral analysis are developed: one with firmly defined properties and one with customizable properties. Two examples are given in order to clarify the usage of each function. The input and output arguments are given in the beginning of the codes.
The code is based on the theory described in:

[1] N. Majumdar, S. Banerjee. MATLAB Graphics and Data Visualization. Birmingham, Packt Publishing, 2012.

[2] D. Manolakis, V. Ingle. Applied Digital Signal Processing. Cambridge, Cambridge University Press, 2011.

[3] G. Heinzel, A. Rudiger, R. Schilling. Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a comprehensive list of window functions and some new flat-top windows. Germany, Hannover, Max-Planck-Institut für Gravitationsphysik, 2002.


This file inspired Time Frequency Analysis Of Non Stationary Signals With Matlab Implementation.

Required Products Signal Processing Toolbox
MATLAB release MATLAB 7.11 (R2010b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
12 Jun 2013 1.1

Change of the title of the submission.

29 Aug 2013 1.2

A semantic error has been corrected in the code.

06 Dec 2013 1.3

A new reference literature has been added.

05 Oct 2014 1.4

A new version of the code has been uploaded.

06 Oct 2015 1.5

A new version of the code has been uploaded.

06 Oct 2015 1.6

A new version of the code has been uploaded.

Contact us