In signal processing, how to divide each frame into five subframes?
1 回表示 (過去 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 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulation, Tuning, and Visualization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!