accessing each item in one workspace variable
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi everyone
i have a code results in workspace, one of the variables name A has 6000 items , i need to go through each item in A , in order to use it in a mathmetical equation how can I do that
please help
1 commentaire
Rik
le 17 Déc 2021
What exactly do you mean? Do you mean you have a vector called A:
A=rand(1,6)
Or do you mean you have 6000 variables whose name starts with A:
A1=rand,A2=rand,A3=rand,A4=rand,A5=rand,A6=rand
Réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown 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!