how to write code for fft?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i want to apply fft to the clutter signal with sampling frequency 5000 Hz.
1 commentaire
Walter Roberson
le 19 Nov 2012
What is a "clutter signal" ?
Do you need to write the fft routine yourself, or can you use fft() ?
Réponse acceptée
Pedro Villena
le 19 Nov 2012
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discrete Fourier and Cosine Transforms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!