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 Ansichten (letzte 30 Tage)
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 Kommentare
Nabil Javeed
Nabil Javeed am 24 Nov. 2019
Yes but I need the MATLAB code to segment this signal into 1024 non overlapping bins, each of 64 vectors as mentioned.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Daniel M
Daniel M am 25 Nov. 2019
Bearbeitet: Daniel M am 25 Nov. 2019
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]

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Produkte


Version

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by