indexing must appear last in an index expression ERROR
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 12 Dez. 2014
You probably forgot an operator, maybe a prod *
available(b,6)=available(i,6)*(min(find(available(i,6)*200>Le(i)==1)));
1 Kommentar
Hamid
am 12 Dez. 2014
Kategorien
Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!