File Exchange

image thumbnail

FFT Plot

version 1.0.0.0 (348 Bytes) by Bill Higley
A quick-and-dirty FFT Plot

6 Downloads

Updated 20 Jan 2002

No License

An easy-to-use file that plots the power spectral density of a vector

Cite As

Bill Higley (2020). FFT Plot (https://www.mathworks.com/matlabcentral/fileexchange/1249-fft-plot), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (12)

Li ??

How to download the file?
Could you please send me the m file? Thank you!
My Email is Laserw9@yahoo.com.cn

Omar Nadeem

A waste of time!

Nick C

Poor - PSD wrong! Just look at fft in matlab help and all is explained better.

Patrik Eschle

You should not publish such scripts, this
is less than a q&d hack. Besides poor programming style it is simply incorrect.

b = length(a)/2
(1:b)

Sorry, this will fail for odd number of elements. Besides that, the PSD is not simply the square of abs(fft), see here
www.utexas.edu/math/Matlab/Manual/tec6.2.html

mosafa ibrahim

peng t

useful for freshman

prabu prabu

good and usefull for education for students

Minglie Hu

good

tsai CH

I recomment you add window function before perform fft.

soumya mohanty

excellent

Carl Holzinger

good one

Taylor Tian

It will be nice to provide some explaination for the code. Thank you!

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Discrete Fourier transform Plot