how to save variables in a for loop
Ältere Kommentare anzeigen
Dear,
I have a simple "for loop". I want to save every results ("y") in that. Can you please help me with that ?
thanks in advance.
for x=1:1:5
y = x*x
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Profile and Improve Performance 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!