frame blocking in matlab
Show older comments
i am new in using matlab. i am going to do a speak recognition, but i have a problem, which is how can i do the frame blocking? do i need the code? or just use the function in matlab? thank you
Answers (1)
声铭 张
on 26 May 2022
function gmmfeatures(voice,N,deltaN,fs,Q)
N=256; %number of frames
M=156; %number of overlapping frame
a(1:256,1:82)=0;a(:,1)= voice (1:256,1);
for j=2:82
a(:,j)= voice ((N-M)*j+1:(N-M)*j+N,1);
end
figure(3);
plot(a(:));
title('Frame blocking of the Voice Signal');
end
this function shows the frame blocking
1 Comment
Walter Roberson
on 26 May 2022
Or perhaps use buffer()
Categories
Find more on Signal Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!