why I'm getting this error? Can't figure this out.
Show older comments
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
Adam
on 25 Mar 2019
It's very difficult for us to know why an error would occur in some downloaded 3rd party code. The code could be of any level of quality and may or may not make any sense at all.
In this case the link you gave is 6 years old in terms of code and the author directs you to
for more up to date code so I would suggest looking there for the latest code as the first port of call. It looks like a carefully organised repository of code so I assume it is good quality 3rd party code that should generally work, but the old version of it may not do for numerous reasons.
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.
Answers (2)
mechetoune walid
on 25 Mar 2019
0 votes
Did you try rename the file name? matlab-toolboxes-master => matlab_toolboxes_master
Then try to run evry section individualy by use " Evaluate selection "
Xiao
on 14 Dec 2022
0 votes
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!