- Created a comma separated list out of your structure (simply by writing Sample(Select).YData)
- Concatenated together all the elements of the list into one matrix with vertcat
- Split the matrix into rows
- deal these rows to the structure
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!