Mercurial > hg > ishara
view dsp/frames.m @ 58:ba866ae124c6
Now accepts single color index for all points.
author | samer |
---|---|
date | Fri, 09 Oct 2015 13:01:37 +0100 |
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');