view dsp/frames.m @ 53:3ba80c9914ff

Minor doc fix, added .class to .hgignore
author samer
date Mon, 02 Feb 2015 10:47:55 +0000
parents c3b0cd708782
children
line wrap: on
line source
function X=frames(Y,N,H)
% frames - Buffer signal, like buffer, but using hop instead of overlap
%
% frames :: 
% 	  [[T]]   	~ 'signal to buffer', 
% 	  N:natural	~ 'frame size',
% 	  M:natural	~ 'hop size'
% -> [[N,L]] ~ 'array of frames' :- L=ceil((T-N)/M).

X=buffer(Y,N,N-H,'nodelay');