initialize set of sequence variables in a loop
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi,
I want to initialize a set of sequence variables in a loop:
for i=1:5
Ti=i;
end
so I can have: T1=1; T2=2; T3=3; ...
is there is a way in matlab to do such a thing?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Chandrasekhar
le 1 Avr 2014
Ti = [1:5];
is this what you are looking for?
Voir également
Catégories
En savoir plus sur Whos dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!