Matlab dwt across specified dimension -
i have dataset sig of size 65536 x 192
in matlab. if want take one-dimensional fft along second dimension, either loop:
%pre-allocate ect.. i=1:65536 f(i,:) = fft(sig(i,:)); end
or specify dimension , without loop:
f = fft(sig,[],2);
which 20 times faster dataset.
i have looked similar discrete wavelet transform (dwt), been unable find it. wondering if knows way dwt across specified dimension in matlab? or have use loops?
i presume you're using function wavelet toolbox: http://www.mathworks.co.uk/help/toolbox/wavelet/ref/dwt.html
the documentation doesn't seem describe acting on array, it's not supported. if allow input array, operate on first non-singleton dimension or ignore shape , treat vector.
Comments
Post a Comment