Effacer les filtres
Effacer les filtres

what's the different of "Ways to Organize Data in Structure Arrays"

3 vues (au cours des 30 derniers jours)
HaveF
HaveF le 20 Juin 2012
When I read the doc of Matlab --- "Ways to Organize Data in Structure Arrays".
I find the ways are very similar or just the same?
* Plane Organization
* Element-by-Element Organization

Réponse acceptée

Aaditya Kalsi
Aaditya Kalsi le 6 Juil 2012
Plane organization makes it easier to access particular fields of structures all at once whereas element-by-element makes it easier to get access to all fields of one struct in the array.
It's akin to row major, column major, though obviously not the same.
  1 commentaire
HaveF
HaveF le 7 Juil 2012
Thanks. Although I still think they are just the same. Just like "Plane Organization" means it has one struct in the array, "Element-by-Element Organization" means it has several structs.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by