Clear Filters
Clear Filters

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

5 views (last 30 days)
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');
xlabel('t(Second)'); ylabel('frequency Hz');

Answers (1)

Preethi on 26 Dec 2016
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);

Community Treasure Hunt

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

Start Hunting!