array of structures in matlab
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
sweta arya
le 29 Juin 2015
Réponse apportée : Azzi Abdelmalek
le 29 Juin 2015
how to implement array of structures in matlab.structure containing two fields.
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 29 Juin 2015
array1=1:10
array2=21:30
out=struct('field1', num2cell(array1),'field2',num2cell(array2))
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Types 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!