Index in position 1 exceeds array bounds

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 11 Lug 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 Commenti
Jan Ali
Jan Ali il 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,

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by