how can i pass the values to an array?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Muhammad Umer
el 22 de Sept. de 2015
Comentada: Star Strider
el 22 de Sept. de 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 comentarios
Respuesta aceptada
Star Strider
el 22 de Sept. de 2015
Editada: Star Strider
el 22 de Sept. de 2015
Change the ‘j’ assignment to:
j(i) = i*5;
2 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Data Types 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!