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

1 回表示 (過去 30 日間)
Winda Mariana
Winda Mariana 2021 年 3 月 24 日
編集済み: Geoff Hayes 2021 年 3 月 24 日
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 Center および File ExchangeSimulation, Tuning, and Visualization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by