PlotFourierSpectrum

Versión 1.0.1 (380 KB) por Don Koks
PlotFourierSpectrum plots the Fourier spectrum of a given data set.
198 Descargas
Actualizado 23 mar 2023

Ver licencia

PlotFourierSpectrum is a set of Matlab code that will plot the Fourier spectrum of an array of data, given a sampling frequency. It is based on the discrete Fourier transform. It allows you to experiment with changing the data and sampling frequencies, without having to worry each time about the arcane details of how to plot the spectrum.
The plot that is produced extends over both positive and negative frequencies. Various plotting options can be specified, such as plotting the absolute values of the Fourier coefficients, plotting their real and imaginary parts separately, or plotting the full complex values of these coefficients.
The package also contains a "how to use" pdf file, and several functions that can be used more generally in calculations involving the discrete Fourier transform.
This release is a minor update. I have made the plots in the usage pdf slightly better, and have simplified the code in a few places. The one "major" change is to two comments in Dft.m and DftInverse.m. These two comments referred in passing to Matlab's "dot" function and used that function in a (commented) code snippet, without my realising that "dot" complex-conjugates its first argument. So I've changed those comments to omit mention of "dot".

Citar como

Don Koks (2026). PlotFourierSpectrum (https://la.mathworks.com/matlabcentral/fileexchange/63646-plotfourierspectrum), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2013a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Fourier Analysis and Filtering en Help Center y MATLAB Answers.
Versión Publicado Notas de la versión
1.0.1

See the main description.

1.0.0.0

This is a very minor update to fix a problem with the figure placement when using Microsoft Windows. (The original code was developed on unix, and works fine on unix and Macs. It will continue to work fine with this update.)
An update that doesn't change the code, but attempts to get the formatting right on the usage notes, since the Mathworks site has reformatted what I submitted.