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.

조회 수: 2 (최근 30일)
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
Nabil Javeed
Nabil Javeed 2019년 11월 24일
Yes but I need the MATLAB code to segment this signal into 1024 non overlapping bins, each of 64 vectors as mentioned.

댓글을 달려면 로그인하십시오.

답변 (1개)

Daniel M
Daniel M 2019년 11월 25일
편집: Daniel M 2019년 11월 25일
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]

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

제품


릴리스

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by