Mercurial > hg > ishara
view arrows/dsp/adct.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 672052bd81f8 |
children |
line wrap: on
line source
% adct - arrow for DCT % % adct :: M:natural -> arrow({[[N]]}, {[[M]]}, empty). % % Produces only the first M DCT coefficients function o=adct(M) I=1:M; o=arrf(@mkdct,1,1); function f=mkdct(sizes_in) % take DCT size from size(1) of first input %W=row(dct(eye(sizes_in{1}(1))),M); f=@(x)row(dct(x),I); end end