Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
DFT function that takes an input signal of period N and sampling frequency fs.
The output is a vector that contains the module of its Fourier Transform. To do this, we have used the Matlab functions: fft and fftshift.
Also, in this function, we have restricted the signal period to be a multiple of 2 and greater than the sequence length. We have used the Matlab functions error and length to detect and throw errors in case this restrictions aren't met.
There is also a function to create a sine signal which can be used as an input in the DFT function.
MORE INFO AND EXAMPLES: http://www.behindthesciences.com/signal-processing/fouriertransformmatlabtutorial
Citation pour cette source
Behind The Sciences (2026). Discrete Fourier Transform function to avoid sampling errors (https://fr.mathworks.com/matlabcentral/fileexchange/56443-discrete-fourier-transform-function-to-avoid-sampling-errors), MATLAB Central File Exchange. Extrait(e) le .
Catégories
En savoir plus sur Discrete Fourier and Cosine Transforms dans Help Center et MATLAB Answers
Informations générales
- Version 1.0.0.0 (970 octets)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
