From: Ravi Rastogi on
"Pavle Boskoski" <pavleb(a)freemail.com.mk> wrote in message <g073un$l12$1(a)fred.mathworks.com>...
> There was a small error in my previous script:
>
> r=cwt(sig,'haar',15000);
>
> should be:
>
> r=cwt(sig,a_coefs,'haar');
>
> where a_coefs are the scales on which you would like to
> perform the CWT
>
> Pavle
>

hi Pavel,

I was also having trouble plotting the local maxima's. your code is just perfect.
Thanks a lot
Keep up the good work!!

Ravi