why I'm getting this error? Can't figure this out.

1 view (last 30 days)
Vijaya
Vijaya on 25 Mar 2019
Answered: Xiao on 14 Dec 2022
I downloaded the complete toolbox named "matlab_toolboxes-master" by Gpeyre (https://github.com/gpeyre/matlab-toolboxes).
I am trying to run the matlab file \matlab-toolboxes-master\toolbox_sparsity\tests\test_mca_wavdct.m .
But I got this error again and again. Please help me as I need to complete my project by April 2019.
Thank You.
ERROR:
Index exceeds matrix dimensions.
Error in perform_wavelet_transform>IWT2_TI (line 2155)
x = tiwt(lastx,lasty);
Error in perform_wavelet_transform (line 122)
y = IWT2_TI(x,Jmin,qmf);
Error in callback_atrou (line 50)
y = perform_wavelet_transform(x,Jmin,tr, options);
Error in perform_mca (line 141)
RW = feval(callback, R,+1,opt);
Error in test_mca_wavdct (line 89)
ML = perform_mca(M, components, options);
  3 Comments
Vijaya
Vijaya on 25 Mar 2019
Edited: Vijaya on 25 Mar 2019
Did you try? If so did you get the same error?
I'm using Matlab 2013a. I tried other versions as well 2015a, 2017a and 2018b. But I'm getting same error and I'm stuck and I really need help.
Also, I checked the given link but I didn't find any updated code related to this particular toolbox.
Adam
Adam on 25 Mar 2019
I didn't try myself. I don't want to download a load of 3rd party code I don't need just to see if I see the same result as in a Matlab Answers question.

Sign in to comment.

Answers (2)

mechetoune walid
mechetoune walid on 25 Mar 2019
Did you try rename the file name? matlab-toolboxes-master => matlab_toolboxes_master
Then try to run evry section individualy by use " Evaluate selection "
  1 Comment
Vijaya
Vijaya on 26 Mar 2019
I tried what you said but it didn't work.
I was using windows 10 and I was getting error, I tried in windows 7 and windows 8, the code is working fine.

Sign in to comment.


Xiao
Xiao on 14 Dec 2022
I got the same problem...Have you solved it?

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!