필터 지우기
필터 지우기

Retrieve data from several structures and re-organize a new structure

조회 수: 3 (최근 30일)
Isma_gp
Isma_gp 2019년 1월 8일
댓글: GT 2019년 1월 9일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Engines & Motors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by