필터 지우기
필터 지우기

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

조회 수: 2 (최근 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 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