Info

此问题已关闭。 请重新打开它进行编辑或回答。

Index exceeds matrix dimensions.

1 次查看(过去 30 天)
div
div 2018-6-20
关闭: KSSV 2018-6-20
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 个评论
KSSV
KSSV 2018-6-20
With out the complete details of variables, it is tough to answer. I already commented in your previous question about the error.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by