how can i pass the values to an array?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Umer
am 22 Sep. 2015
Kommentiert: Star Strider
am 22 Sep. 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 Kommentare
Akzeptierte Antwort
Star Strider
am 22 Sep. 2015
Bearbeitet: Star Strider
am 22 Sep. 2015
Change the ‘j’ assignment to:
j(i) = i*5;
2 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Data Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!