DFT on a specified frequency

Version 1.0.0.0 (1010 Bytes) by Hongxue Cai
spectral analysis (amplitude & phase) of recorded time-series data
7K Downloads
Updated 6 Feb 2006

No License

Compute the discrete Fourier transform at specified frequencies, not using fft.
Why one may need this?

(1) MATLAB fft function computes the amplitude of signals only (no phase).
(2) Once having the recorded time-series data, one often uses fft to do the spectral analysis. However, the frequency set at which you do the fft may not contain the specified frequency of interest. For example, when we use two primary tones (f1, f2) to stimulate the ear, we are interest in comptuting the distortion product at frequency of 2f1-f2. This frequency may not be inculuded in the frequency set for the fft analysis

Cite As

Hongxue Cai (2026). DFT on a specified frequency (https://uk.mathworks.com/matlabcentral/fileexchange/9891-dft-on-a-specified-frequency), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0