Fast Finite Fourier Transform
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
Plateformes compatibles
Windows macOS LinuxCatégories
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms > Fast Fourier Transforms >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |