WTMM for 1-D

5 views (last 30 days)
NASSRE
NASSRE on 28 Aug 2016
Edited: John D'Errico on 28 Aug 2016
this function have rshift and lshift which is not defined.

Answers (1)

John D'Errico
John D'Errico on 28 Aug 2016
The crystal ball is so foggy today. We don't know what the function wtmm does, since it is not part of MATLAB. Nor do we have lshift and rshift.
My guess is that wtmm is part of this USER-provided toolbox for wavelet analysis .
In there I found a function called wtmm, that also happens to call functions called lshift and rshift.
So it would appear that you just have no idea how to install a tool from the file exchange.
Download the ENTIRE toolbox, not just one function.
Unzip the file.
Add the directory to your search path.
  3 Comments
Walter Roberson
Walter Roberson on 28 Aug 2016
Did you use pathtool to add the appropriate directory to your MATLAB path? Alternately, did you use the Add-On Explorer to install the toolbox?
John D'Errico
John D'Errico on 28 Aug 2016
Edited: John D'Errico on 28 Aug 2016
Not correct, because those tools ARE supplied in the toolbox. So you did not install the toolbox properly on your search path. Easily enough found in:
.../Wavelets/Wavelab850/Orthogonal/lshift.m
and
.../Wavelets/Wavelab850/Orthogonal/rshift.m
You will need to add some subdirectories to your search path, else you be soon asking where is some other function.
help pathtool

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!