indexing must appear last in an index expression ERROR
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Azzi Abdelmalek
il 12 Dic 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 Commento
Hamid
il 12 Dic 2014
Categorie
Scopri di più su Data Distribution Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!