wmpdictionary in matlab for matching pursuit
2 views (last 30 days)
Show older comments
Hi dear friends,
I am trying to build a dictionary for sparse representation in Matlab(version 7.10.0.499-R2010a) using the following command: dict1 = wmpdictionary(N1,'LstCpt',{'dct'});
I get the following error: Undefined function or method 'wmpdictionary' for input arguments of type 'cell'.
Do I need to install a certain package?
0 Comments
Accepted Answer
Geoff Hayes
on 21 Mar 2015
Yousef - wmpdictionary is part of the Wavelet Toolbox. Given the error message, it appears that you either don't have this function or the toolbox itself. To see if you do, in the Command Window type
ver
and see which toolboxes you have installed. If you do have this toolbox, type the following to see if your version has the function you are trying to use
which wmpdictionary -all
3 Comments
Geoff Hayes
on 21 Mar 2015
Yousef - I suspect that your version of MATLAB (R2010a) does not have this function. It appears (from here) that this function was added as a new feature in R2012a.
More Answers (0)
See Also
Categories
Find more on AI for Signals and Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!