generating a sequence 1,2,3,4,....,n
Mostrar comentarios más antiguos
Without using a for loop, how can I generate an index 1,2,3,...,n?
Respuesta aceptada
Más respuestas (1)
Arsal noor
el 22 de Oct. de 2020
1 voto
X = [1 2 3 4]
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!