how to save variables in a for loop
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ADNAN KIRAL
am 16 Apr. 2022
Kommentiert: ADNAN KIRAL
am 16 Apr. 2022
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
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Type Identification 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!