Retrieve data from several structures and re-organize a new structure
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have several folders "folder_1, folder_2....folder_n" with a structure "moo_data.m" on each folder.
Each "moo_data.m" contains several structures "file_1, file_2....file_m". The number of structures on each "moo_data" can be different. On each "file_m" structure there is a 24x20 double called response. i.e. moo_data.file_1.response gives us a [24x20] double.
I need to re-organize the data as follows:
for ii=1:24
the data within response (ii,:) needs to be regrouped for each of the "file_m" structures to end up with a new double of size m x 20. The new structure would look like:
newstructure.folder_3.line_24.response , which results on a [mx20] double. "new_structure" would have n "folder_n" structures and each one 24 "line_y" structures containing a [mx20] double each.
Can I get some help reorganizing this data into athe new structure?
Thanks
2 Commenti
GT
il 9 Gen 2019
Isma_gp Let us know if you are still having difficulties:) If yes, feel free to share your code, and it will make it easier for the community to jump in.
Risposte (0)
Vedere anche
Categorie
Scopri di più su Engines & Motors in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!