PlotFourierSpectrum

버전 1.0.1 (380 KB) 작성자: Don Koks
PlotFourierSpectrum plots the Fourier spectrum of a given data set.
다운로드 수: 198
업데이트 2023/3/23

라이선스 보기

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".

인용 양식

Don Koks (2026). PlotFourierSpectrum (https://kr.mathworks.com/matlabcentral/fileexchange/63646-plotfourierspectrum), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2013a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fourier Analysis and Filtering에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
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.