Discrete Fourier Transform function to avoid sampling errors
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
인용 양식
Behind The Sciences (2025). Discrete Fourier Transform function to avoid sampling errors (https://kr.mathworks.com/matlabcentral/fileexchange/56443-discrete-fourier-transform-function-to-avoid-sampling-errors), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- Signal Processing > Signal Processing Toolbox > Transforms, Correlation, and Modeling > Transforms > Discrete Fourier and Cosine Transforms >
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| 버전 | 게시됨 | 릴리스 정보 | |
|---|---|---|---|
| 1.0.0.0 |
