how to save variables in a for loop
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
ADNAN KIRAL
el 16 de Abr. de 2022
Comentada: ADNAN KIRAL
el 16 de Abr. de 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 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!