how to write code for fft?

3 ビュー (過去 30 日間)
lynette t.
lynette t. 2012 年 11 月 19 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeDiscrete Fourier and Cosine Transforms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by