Frequency Plotting

convenient way to plot frequency content
2.2K Downloads
Updated 1 Aug 2007

No License

==========================================================================
% THIS FUNCTION PLOTS FFT OF THE SIGNAL
% INPUT TO THE FUNCTION IS
%
%userfft(input, sampling frequency, waveform, psd)
%
% input -> Input waveform
%
% sampling frequency -> Sampling frequency
%
% waveform -> 'real' refers to real baseband signals
% plots only half the fft output
% -> 'complex' refers to complex baseband signals
% plots complete spectrum
% -> 'bandpass'
% psd -> 'unbaised' refers to the fact that fft./length(input)
% -> 'normalised' refers to fft./max(fft)
% -> '' plots fft
%
%
% AUTHOR: ABHI
% CAIRN, WPI
% =========================================================================

Cite As

Abhijit Navalekar (2026). Frequency Plotting (https://www.mathworks.com/matlabcentral/fileexchange/15778-frequency-plotting), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0