DWT algo for embedding watermarks
i try to get CA,CD coeffisien with DWT
here is the code
[ca,cd]=dwt('audio.wav','haar');
but it get error,
*??? Error using ==> dwt
Too many output arguments.*
I have tried to use wavelet toolbox, but the result is also error
before i try with DWT, i have done try with LWT
lss = liftwave('haar','int2int');
[y, Fs] = wavread('audio.wav');
inc=2^4;
y2 = y*inc;
[R,k]=size(y2);
sample = round(y2(1:R,1));
[CA,CD]=lwt(double(sample(:)),lss);
someone can help me to write down the correct syntax / code to get CA,CD with DWT??
and what is the different using lwt and dwt??
thank you, sorry for bad english