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
Cita come
Devraj Dutt (2024). Fast Finite Fourier Transform (https://www.mathworks.com/matlabcentral/fileexchange/54801-fast-finite-fourier-transform), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms > Fast Fourier Transforms >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |