create vector from each element it had
Afficher commentaires plus anciens
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 commentaires
TADA
le 9 Juin 2020
What's wrong with your solution:
[1:x, 1:y, 1:z]
?
Maya Harel
le 9 Juin 2020
Réponse acceptée
Plus de réponses (1)
David Hill
le 9 Juin 2020
Modifié(e) : David Hill
le 9 Juin 2020
Misread
1 commentaire
Maya Harel
le 9 Juin 2020
Catégories
En savoir plus sur App Building dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!