I'm trying to implement an algorithm which has been described in a paper. It deals with accelerometer data which has to be filtered and differentiated. My input is a vector (1 column, multiple rows).
The vector has to differentiated using a Gaussian CWT with the MatLab function cwt. Scale has to be 'scale10' and wavelet 'gaus1'.
When I try to implement the instructions in MatLab, I type the following:
dudx=cwt(vector,'scale10','gaus1');
This is the error I get:
Undefined function 'sqrt' for input arguments of type 'char'.
Error in cwt (line 278)
coefs(ind,:) = -sqrt(a)*wkeep1(diff(wconv1(ySIG,f)),lenSIG);
As it should actually work with the input, I've really no idea what I could change. I also went through the mathworks pages from cwt and wavefun but without any solution.
I've never before used a CWT, therefore I thought that I may misunderstood something and applied the instructions wrong. Can anyone help me out on this?