how to write code for fft?
1 次查看(过去 30 天)
显示 更早的评论
i want to apply fft to the clutter signal with sampling frequency 5000 Hz.
1 个评论
Walter Roberson
2012-11-19
What is a "clutter signal" ?
Do you need to write the fft routine yourself, or can you use fft() ?
采纳的回答
Pedro Villena
2012-11-19
fs = 5000;
t = 0:1/fs:1;
signal = rand(size(t)); %%%%test data
fft_in = reshape(signal(1:256*floor(numel(signal)/256)),256,floor(numel(signal)/256));
fft_out = fft(fft_in);
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!