how can i pass the values to an array?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Muhammad Umer
il 22 Set 2015
Commentato: Star Strider
il 22 Set 2015
for i=1:10
j=i*5:
end
output will be:
5,
10,
......
50.
how can i pass these output values(5.....50) in an array?
0 Commenti
Risposta accettata
Star Strider
il 22 Set 2015
Modificato: Star Strider
il 22 Set 2015
Change the ‘j’ assignment to:
j(i) = i*5;
2 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Operators and Elementary Operations 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!