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.

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 件のコメント

Daniel M
Daniel M 2019 年 11 月 24 日
Seems pretty straightforward. 1024*64 = 65536. What is your question?
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]

カテゴリ

製品

リリース

R2014b

質問済み:

2019 年 11 月 24 日

編集済み:

2019 年 11 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by