I generated a FFT Signal of sampling frequency 1kHz for 65536 column vectors of a time domain signal. I want to apply segmentation on this FFT signal to 1024 parts before applying feature extraction.
Afficher commentaires plus anciens
I generated a FFT Signal of sampling frequency 1kHz for 65536 column vectors of a time domain signal. I want to apply segmentation on this FFT signal to 1024 parts before applying feature extraction.
3 commentaires
Daniel M
le 24 Nov 2019
Seems pretty straightforward. 1024*64 = 65536. What is your question?
Nabil Javeed
le 24 Nov 2019
Daniel M
le 24 Nov 2019
help reshape
Réponses (1)
fs = 1000;
t = 0:1/fs:65.536-1/fs;
x = sin(2*pi*50*t);
X = fft(x);
X_1024 = reshape(X,1024,[]);
% X_1024 --> [1024x64]
Catégories
En savoir plus sur Spectral Measurements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!