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

1 次查看(过去 30 天)
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 个评论
Vijaya
Vijaya 2019-3-25
编辑:Vijaya 2019-3-25
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 2019-3-25
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.

请先登录,再进行评论。

回答(2 个)

mechetoune walid
mechetoune walid 2019-3-25
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 个评论
Vijaya
Vijaya 2019-3-26
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.

请先登录,再进行评论。


Xiao
Xiao 2022-12-14
I got the same problem...Have you solved it?

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by