i would like to get all values of for loop outside loop,but this program gives me the last value only
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sagar AS
il 4 Lug 2015
Risposto: Walter Roberson
il 4 Lug 2015
for i=1:5
x(i)=i+1;
end
disp(x(i));
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Entering Commands in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!