create vector from each element it had
Mostrar comentarios más antiguos
Hi
Lets say I have a vector that goes: [x y z]
Im trying to create, if possible without a loop, the following vec: [1:x, 1:y, 1:z]
only I don't know who x y or z will ne, or how many elemnts will the first vec have
2 comentarios
TADA
el 9 de Jun. de 2020
What's wrong with your solution:
[1:x, 1:y, 1:z]
?
Maya Harel
el 9 de Jun. de 2020
Respuesta aceptada
Más respuestas (1)
David Hill
el 9 de Jun. de 2020
Editada: David Hill
el 9 de Jun. de 2020
Misread
1 comentario
Maya Harel
el 9 de Jun. de 2020
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!