How to extract data from a cell array which contains structs?
Mostra commenti meno recenti
Hi all,
I have the following problem: I have a cell array which contains in each cell a certain struct (structs have the same fields but different information). Suppose a certain field contain numbers. I want to create an array from all the numbers of this field from all the structs in the cell array. I can do this with a for loop but I guess there should be a better and a faster way. I tried to do it using 'deal' but failed.
Is there a better way?
Thanks, Alon
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Structures in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!