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

1 visualización (últimos 30 días)
Winda Mariana
Winda Mariana el 24 de Mzo. de 2021
Editada: Geoff Hayes el 24 de Mzo. de 2021
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)?

Respuestas (0)

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by