www.pudn.com > LPCToolbox.rar > FRAME.M


% i = frame(framenum) 
% 
%   Returns the indices for frame 'framenum'. Using 
%   ILS terminology, an analysis-frame is a sliding 
%   window over the data; it slides one context-frame 
%   at a time. 
%    
function i = frame(frnum) 
global Ap 
 
a = ((frnum-1) * Ap.context_width) + 1; 
i = [a:a+ Ap.analysis_width - 1];