View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Spectral Analysis with Matlab Implementation

5.0 | 1 rating Rate this file 23 Downloads (last 30 days) File Size: 4.3 KB File ID: #42170 Version: 1.8
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 a computation of the:
1) one-sided amplitude spectrum;
2) one-sided phase spectrum;
3) frequency vector.
Two functions for spectral analysis are developed: one with firmly defined properties and one with customizable properties. Several examples are given in order to clarify the usage of each function. For convenience, the input and output arguments are given in the beginning of the functions.

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 Spectrum Visualization 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.
Comments and Ratings (1)
07 May 2016 Dimo Petkov

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.

18 Jun 2016 1.7

A new version of the code has been uploaded.

12 Oct 2016 1.8

A new version of the code has been uploaded.

Contact us