Hi everybody,
I get this error : ()-indexing must appear last in an index expression. Line: available(b,6)… Column: 17
also I have this warning at that line : can not call or index into a temporary array.
for i=1:ne Le(i)=sqrt((Ex(i,1)-Ex(i,2))^2+(Ey(i,1)-Ey(i,2))^2+(Ez(i,1)-Ez(i,2))^2); if Le(i)==0 j=+j1; else u=u+1; end Le(i)/200<available(i,6); available(b,6)=available(i,6)(min(find(available(i,6)*200>Le(i)==1))); Ep(u,:)=available(b,:); end
I will be very thankful for any suggestion.
Best Answer