Guidance with DFT Transform
Show older comments
I need help with implement DFT transform i am attaching the function i should do the DFT. i need guidance and code example.
thanks a lot Moshe
Answers (2)
Kevin
on 29 Apr 2016
f = 10; % 10 Hz.
t = (0:2047)/100; % 100 Hz sampling rate.
x = sin(2*pi*f*t);
X = fft(x);
Categories
Find more on Discrete Fourier and Cosine Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!