Let's say that i have
data =1×4 cell array{12×1 cell} {12×1 cell} {12×1 int32} {12×1 int32}
first 12×1 cell array contains Names, second sournames, third age and forth id numer.
I would like to do something like extract just 1st elements from each cell array – it woul'd give me an array of data for one person, then do it for the next 11 rows.
How to make it? It should be convert into struct, and I know that repmat function can be useful here, but i have no clue how to do it.
Best Answer