Index in position 1 exceeds array bounds
1 view (last 30 days)
Show older comments
Mohamed bensekkou
on 11 Jul 2020
Commented: Jan Ali
on 14 Mar 2021
hello,
i m new on matlab
in this algrothme is showing me that the size
of the indicated variable or array appears to be changing with each loop iteration
reslt is matrice
thank you for helping
for i=1:N
temp=lena2(i,:);
rslt=eemd(temp,0.2,nesb,4);
for j= 1:N
for k=1:5
rsltd1(i,j,k)=rslt(j,k+1);
end
end
end
0 Comments
Accepted Answer
Image Analyst
on 11 Jul 2020
Yes, it's just a warning though, not an error. If you want you could preallocate it before the loop with the largest size you think it will have
rsltd1= zeros(N, N, 5);
2 Comments
Jan Ali
on 14 Mar 2021
Hi Mohamed,
Could you please share your eemd code/script?
I also implement eemd algorithm for PQ signal analysis. I really appreciate if you can send me the codes to: ali12af@gmail.com
Thanks in advance,
More Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!