Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Index exceeds matrix dimensions.

1 Ansicht (letzte 30 Tage)
div
div am 20 Jun. 2018
Geschlossen: KSSV am 20 Jun. 2018
for f=1:m
for i=1:m
for j=1:4
di=abs(X(f,j)-X(i,j));
Z(i)=di;
end
[B,I]=sort(Z);
for c=1:20
if(X(f,5)==X(I(c),5))
k=0
end
end
end
end
  1 Kommentar
KSSV
KSSV am 20 Jun. 2018
With out the complete details of variables, it is tough to answer. I already commented in your previous question about the error.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by