A selection of a time window in order to calculate the fft of my filtered signal
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, I am looking to make a selection of a time window in order to calculate the fft of my filtered signal from sample 825 to 932, do you have an idea of the code to do? I admit to being a little lost...
After I have to do a truncation of the filtered signal on this time window I established this code
B= fir1(2,fc/(Fech/2),'low')
But this code is not related to the time window (terminals)..
Thanks for help me
0 commentaires
Réponses (1)
William Rose
le 13 Fév 2023
Y=fft(y(825:932));
returns the fft of signal y, from sample 825 through 932.
That seems too easy, so perhaps I have misunderstood your question.
0 commentaires
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!