How to divide a signal into two signals and put them in one array?
5 次查看(过去 30 天)
显示 更早的评论
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');
0 个评论
回答(1 个)
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);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Pulsed Waveforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!