In signal processing, how to divide each frame into five subframes?

2 次查看(过去 30 天)
I have a speech signal with 8khz sampling frequency and i have divided speech files into frames of 10ms using hamming windows.
function pushbutton4_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton4 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
if isfield(handles, 'fullpathname')
sr = 8000; %sampling rate
w = 3000; %window size
T = w/sr; %period
N = length(y);
% t is an array of times at which the hamming function is evaluated
t = linspace(0, 1, 8000);
twindow = t(1:3000);
hamming = 0.54 - 0.46 * cos((2 * pi * twindow)/T);
How i divide each frame into five subframes (each subframes having 32 samples)?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by