how to write code for fft?

i want to apply fft to the clutter signal with sampling frequency 5000 Hz.

댓글 수: 1

Walter Roberson
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
Pedro Villena 2012년 11월 19일

0 개 추천

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개)

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by