Fast Finite Fourier Transform

Using MATLAB's in-built fft function, this function creates an FFT
119 téléchargements
Mise à jour 8 jan. 2016

Afficher la licence

Generates a single sided FFT for a given timeseries input using MATLAB's fft function
Inputs:
TimeResolution (in seconds)
TotalTime (in seconds)
TimeSeries101 - They ordinate/magnitude values of the time series in a 1D integer array (if this is not sent to the
function, a sum of sinusoids of amplitude 1, 2, 3 with freq 50, 150, 250 Hz and
phases of 0, 0, 0° will be used arbitrarily)
Outputs:
One structure fftval
fftval.fig: Contains the figure handle for the generated fourier transform
fftval.freq: Contains the frequency vector (x axis) for the generated fourier transform
IMPORTANT:
The resolution of the frequency axis is going to be (Fs/N)
i.e. (1/TimeResolution)/(TotalTime/TimeResolution)
i.e. (1/TotalTime)
If the start time is non-zero, resolution of the frequency axis is
(1/(TotalTime-StartTime))
The range of the frequency axis is going to be
0 - (1/(TimeResolution*2)) Hz
fftval.amp: Contains the amplitude vector (y axis) for the generated fourier transform

Citation pour cette source

Devraj Dutt (2024). Fast Finite Fourier Transform (https://www.mathworks.com/matlabcentral/fileexchange/54801-fast-finite-fourier-transform), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2015b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0