How to divide a signal into two signals and put them in one array?

조회 수: 3 (최근 30일)
bilal dahnoun
bilal dahnoun 2016년 12월 24일
답변: Preethi 2016년 12월 26일
i have a feature extraction code and i want to analyze it but i want to get a signal and divide it into two signals and put them in a row of an array/matrix
here's my code:
[y,fs]= wavread('Bed03');
mfcc=Feature_Extract(y,fs,20,10);
plot(mfcc);
pcolor(mfcc');
xlabel('t(Second)'); ylabel('frequency Hz');

답변 (1개)

Preethi
Preethi 2016년 12월 26일
hi,
hope this helps, (if mfcc is a column vector)
len =length(mfcc);
res =zeros(2,len/2);
res(1,:)= mfcc(1:len/2);
res(2,:) = mfcc(len/2+1:end);

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by