frame blocking in matlab

2 views (last 30 days)
lam
lam on 15 Jan 2014
Commented: Walter Roberson on 26 May 2022
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

Tags

Community Treasure Hunt

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

Start Hunting!